Feudal Europe was organized into a strict hierarchy with the king at the top who granted land to nobles in exchange for military service. Society was divided into estates with the privileged nobility and clergy who did not pay taxes unlike the unprivileged peasants who worked the lands. The system was based on a network of obligations between lords and vassals and ensured military protection in a decentralized agrarian society.