Hammurabi’s laws reflect a stratified society in which people followed distinct professions as soldiers, civil servants, doctors, judges, and merchants. They divided people into three classes—freemen, dependent citizens, and slaves—who had different rights and privileges, and who were entitled to different amounts of compensation if they were injured.