The position of mountains influences climate, such as rain or snow. When air masses move up and over mountains, the air cools producing precipitation (rain or snow). As the air descends on the leeward side, it warms again and is drier, having been stripped of much of its moisture. Often, a rain shadow will occur on the leeward side of a range.