Answer: The Code of Hammurabi is a set of laws created in Mesopotamia around the 18th century BC by King Hammurabi of the first Babylonian dynasty.
The code is based on the talon law, "an eye for an eye, a tooth for a tooth." It was printed on a block of rock using cuneiform writing.
The laws provided punishments for non-compliance with rules established in various areas such as family relations, commerce, construction, agriculture, livestock. The punishments occurred according to the position that the criminal person held in the social hierarchy.
Nowadays most of people do not have this idea to repay the same suffering that was caused, the idea of punishments according to hierarchy. It was an idea from the past, for people that lived in a different society, with a different structure as well.