what was the social structure in each of the civilization's Egypt and Mesopotamia.

In ancient Egypt, the social structure was hierarchical and highly stratified. It was primarily divided into the following classes:

1. Pharaoh and Royal Family: The pharaoh was considered a divine ruler and at the top of the social order. Members of the royal family, including the pharaoh's immediate relatives, held high positions in the government and had significant privileges.

2. Nobility and Priests: Just below the pharaoh were the nobles and high-ranking priests. They owned large estates and were responsible for managing affairs in their respective regions. Priests played a crucial role in religious ceremonies and had considerable influence.

3. Scribes and Officials: Scribes were highly educated individuals who held various administrative roles in the government, such as record-keeping, taxation, and legal proceedings. They were highly respected and enjoyed privileges.

4. Soldiers and Warriors: The military class consisted of soldiers and warriors who served in the Egyptian army. They had a respected position in society due to their role in protecting the kingdom.

5. Merchants and Craftsmen: Merchants engaged in trade both within Egypt and with other ancient civilizations. Craftsmen, including artisans and craftsmen, were skilled workers and contributed to the economy by producing goods.

6. Farmers and Laborers: The majority of the population in ancient Egypt were farmers and laborers, who worked the land and produced food. They were considered the backbone of the society but had less social status compared to the higher classes.

In Mesopotamia, the social structure was also hierarchical, but it varied slightly in different city-states. However, the general social structure can be described as follows:

1. Kings and Rulers: City-states in Mesopotamia were governed by kings or rulers who held the highest position in society. They were often seen as divinely chosen and had ultimate authority.

2. Priests and Religious Elite: Priests played a prominent role in Mesopotamian society. They carried out religious rituals, made offerings to gods, and interpreted signs and omens. The religious elite had considerable power and influence.

3. Wealthy Merchants and Landowners: Merchants who engaged in long-distance trade and landowners who owned vast agricultural estates held a significant position in society. They accumulated wealth and obtained power through trade and land ownership.

4. Skilled Craftsmen: Skilled craftsmen such as potters, weavers, and metalworkers were highly valued in Mesopotamia. They produced goods that were essential for daily life, and their expertise was appreciated.

5. Free Citizens and Farmers: Free citizens in Mesopotamia had legal rights and could own property. They formed the middle class and were often involved in trade or agriculture. Farmers, who worked the land, formed a significant portion of the population.

6. Slaves: Slavery was prevalent in Mesopotamia and individuals could become slaves through various means, such as debts or as prisoners of war. Slaves did not have legal rights and were considered the lowest class in society. They worked for their masters and had no social mobility.