In coastal area, wind current moves from the sea towards the land during day but during night it moves from land to the sea. Discuss the reason

In coastal area, wind current moves from the sea towards the land during day but during night it moves from land to the sea. Discuss the reason.
Answer:
Air moves from a region of high pressure to a region of low pressure. Air above the land gets heated quickly during day and starts rising. This creates a region of low pressure as a result of which air above the sea rushes into this area of low pressure. This movement of air from one region to other creates winds. During night, as water cools down slowly, the air above water is warmer than the air on land. So, air moves from land to sea creating winds.