Pyramids and temples are such kind of buildings.
The Aztecs began building pyramids in the 14th century, after arriving in central Mexico. The most famous of their pyramid temples, Templo Mayor, was constructed in the Aztec capital of Tenochtitlan in the early 15th century.
I'm not sure, but they mostly had slaves
Mexico
Nope, not at all. The true builders are unknown.
Temples or Pyrimads
Mexico, Belize and Guatemala
The Aztecs built pyramids for religious and ceremonial purposes, as well as to serve as platforms for the performance of rituals and sacrifices. They believed that the pyramids connected them to the gods and the spiritual world, and that by building and performing ceremonies on them, they could maintain harmony with the divine forces.
Tenochtitlan, now Mexico city.
because they wanted to build temples there.
Pyramids were primarily built by ancient Egyptian and Mesoamerican civilizations for religious and ceremonial purposes. Other religious groups, such as the Mayans and Aztecs, also built pyramids, but the design and significance of these structures varied between cultures.
The Aztecs capital city, Tenochititan, was built over Texcoco Lake.