There are two main types of air masses: continental polar and maritime tropical. A front is the boundary between two air masses of different temperatures. Cold fronts occur when cold air moves under warm air, bringing storms and drier conditions, while warm fronts happen as warm air moves over cold air, which can produce light precipitation or fog and warmer weather afterwards. Doppler radar maps can show the locations of cold and warm fronts.