In feudal Japan, people were divided into different social classes. Just like in school, different grades have different rules and responsibilities - this was the same!
At the top of the hierarchy were the Emperors, who were like the principal. They were the highest ranking people in Japan and everyone had to obey them.
Next were the Shoguns, who were like the vice-principal. They were powerful samurai warriors who helped the Emperors rule the country.
Underneath the Shoguns were the Daimyos, who were like the student council leaders. They were powerful lords who controlled different areas of Japan and had their own armies.
At the bottom of the pyramid were the peasants and artisans, who were like the regular students. They had to work hard to support the samurai and nobles above them.
There were also the samurai, who were like the school security guards. They were very skilled warriors who protected the higher classes and fought in battles.
In feudal Japan, everyone had a specific role to play and they had to follow the rules of their rank. It was like a big game of "follow the leader".