There are nearly 200 rooms at Machu Picchu, including residences, temples, storage buildings, altars, and observatories. There were also several shrines for the practice of ancestor worship of the Inca, a religious cult in which centuries-old mummies of ancestors were kept and tended. Doorways and walls were not necessarily rectangular in outline or plan, but all fit together tightly.