The energy of sunlight that hits the ocean is absorbed, and flows into the deep ocean. A smaller percentage of the energy that hits land is absorbed, but this rapidly radiated away at night.
Ok, one last one: global warming is basically that energy imbalance: the Earth is currently absorbing, on average, more energy from the sun than it radiates back, for a variety of reasons (change in atmospheric composition, change in surface reflectivity).