Many ancient temples, including the Maya, Aztec, and Inca civilizations build the temples primarily for religious purposes. They prayed in these temples, would do sacrifices, and would bury their kings within the temples. As people started to convert to Christianity, many of these temples became abandoned.