Answer:
When the land heats up, the air above it heats up as well. On the other hand, the sea heats up and cools down relatively slowly. Therefore, areas near the sea generally stay cooler during the day and have a more moderate temperature range than inland areas.
Hope it will help you