Heat capacity is similar to specific heat; it is related to
the amount of temperature change due to a unit amount of energy added to a substance.
In contrast, for inland areas, where
it's mainly soil or sand, there's a wide daily range of temperature because
the temperature of the land goes up a lot more than the ocean for the same amount
of insolation, and at night the temperature goes down a lot as the land loses
infrared radiation to space.