Whenever warm, moist air reaches a mountain, it rises and cools, which releases moisture on the windward side. On the leeward side, cooler, dry air drops and absorbs moisture, which creates a rain shadow. Rain shadows usually determine where there are deserts.