Inversions occur during the winter months when normal atmospheric conditions (cool air above, warm air below) become inverted. Inversions trap a dense layer of cold air under a layer of warm air. The warm layer acts much like a lid, trapping pollutants in the cold air near the valley floor.