Ancient history

Why were the pyramids of Aztec and Maya built?

There were no pyramids built by the Maya or Aztec peoples. Pyramids were commonly built in Mesoamerica but they are usually associated with older civilisations such as those of the Olmecs.