Huitzilopochtli was the Aztec's god of war, sun, human sacrifice and the patron of the city of Tenochtitlan. It was vitally important to the Aztec people to keep him happy via offerings and human sacrifice. The stone disc on the top of the temple represents the sun.