Sea breezes are the result of uneven surface temperatures. Sea breezes occur due to the land being warmer than the water of the sea or the sea being warmer than the land. Early in the day, the temperature of the land and water are similar. As the day progresses, the land heats up faster than the water and a significant difference in temperature occurs. This is because water is able to absorbe more energy than land without becoming warm. The warm air rises while the cool sea air flows onto the land. At night the opposite happens. The warm sea air rises and the cooler land air flow out to sea.
Areas close to sea or other large ware bodies experience cool breeze blowing from the sea to the land during day time and breeze in the reverse direction at night. This is due to the effect of the water and land mass getting heated and cooled at different under the effect of daily cycle of sun's movement. When the sun shines during the day, the temperature of land rises faster than that of the sea. Also when the sun sets the land cools faster than the sea. As a result during day time the land temperature is higher than that of sea, and at nights the sea temperature is higher than that of land.
Due to this temperature difference between sea and land, during the day time atmospheric air above land expand more than that above sea. This results in air pressure above land becoming less than that above sea, causing cool air from the sea to blow towards land. At night the temperature of land being lower than that of water. the breeze blows from land to sea.