They're not sure what Machu Picchu was used for but one theory was that it was a sort of agricultural lab. There was a lot more terraced farmland than would have been required to support a city the size of Machu Picchu.
Machu Picchu in the clouds.
The scale of the city was huge considering its location and compared to other ruins we saw along the way.