The land is a bad conductor and a good radiator of heat. Therefore, it quickly gets heated during the day. This results in building a low-pressure area over the land and a high-pressure area over the sea. Because winds blow from the high-pressure area to the low-pressure area, winds from the sea blow towards the land. They are known as the sea breeze. During the nights, the land cools down rapidly creating high-pressure conditions. Thus, the land breeze blows from the land to the oceans.
Also, Read Pressure belts and types of winds