!!!HURRY PLZ!!!

Explain two aspects of society that were covered by Hammurabi’s code. What concept was the punishment for breaking a law based on?