Why are there deserts on the western edges of continents
Cold ocean currents run along the coast and cool the air. This means the air can't hold moisture and so it rains quickly over the ocean before it reaches the land - eg Namib desert in Africa,
areas of dry land that form on the leeward side (downwind) of a high mountain.
Rain cloud approaches mountain range → rise in elevation → surrounding air becomes cooler → due point eventually reached → precipitation occurs as cloud gains precipitation, continues to rain towards peak → cloud begins to descend leeway side of mountain → decrease in elevation → air temperature increases → precipitation decreases → rain shadow is dry