What are the three ways in which water reaches the atmosphere?