The monsoon occurs due to the shift in wind patterns caused by the differential heating of land and sea. During summer, the land heats up faster than the ocean, creating a low-pressure system that draws moist air from the ocean. This moisture-laden air rises, cools, and condenses, resulting in heavy rainfall. The monsoon is divided into two phases: the southwest monsoon and the northeast monsoon.