Question: why atacama is a desert?
Answer: As the winds are forced to rise to cross the Andes, they are cooled (remember it gets colder the higher up you go). Eventually, the moisture in the air condenses and turns to rain, falling on... the 'wrong' side of the Andes! This means that the Atacama lies in a rainshadow.