How a sea breeze is created on a hot sunny day?
Air over the land heats up causing an up-draft. Air over the sea is cooler and therefore is drawn over the land to replace the rising up-draft. Thus a sea breeze is created which flows from the sea to the land. The opposite can happen at night when the sea air is warmer and rises, creating a land breeze which flows from land to sea.