Okay, so a long time ago, there was a country called Japan, and people there lived in a system called feudalism. Feudalism means that people were divided into different groups based on their social status and job, and the top group was usually the king or emperor who owned all the land and was in charge.
Now, the people who worked for the king or emperor were called samurai. They were warriors who protected the king and fought for him, and in exchange, the king gave them land and food to live on. So basically, the samurai were kind of like soldiers and farmers at the same time.
But not everyone could be a samurai. There were also people called peasants who worked the land, and they didn't have as much power or status as the samurai did. The peasants had to give a lot of their crops to the samurai as taxes, which meant they didn't have as much food left for themselves.
Now, the samurai and the peasants weren't the only people in Japan. There were also people called merchants who sold things like food, clothes, and other stuff. But back then, the samurai and other people in charge didn't really like the merchants, because they thought that buying and selling things wasn't as important as fighting or farming.
So the merchants had to work really hard to make money and be successful, but they never had as much power or status as the samurai did. This made it hard for them to get ahead in society, even if they were really good at what they did.
Overall, the economics of feudal Japan were shaped by this system of social classes, where some people had a lot of power and others didn't have as much. The samurai and peasants were the most important groups, but there were also merchants and other people who played important roles in the economy. It wasn't always fair or equal, but it was the way things worked for a long time in Japan.