The sun release a lot of heat to the earth.The oceans obsorb this energy for maintaining constant temperature.they obsorb more heat near the equator.Oceans transports the heat energy to nearer places.
IN SUMMER SEASON
Earth heats up quickly, but oceans remains cool due to higher specific heat.At the time cool breaze from the oceans cools the earth.
IN WINTER SEASON
Earth cools down quickly, but oceans doesn't cool down quickly due to higher specific heat.Then the warm breaze from the oceans warm up the earth in night
In this way oceans play a vital role to moderate the climate of India.