During the summer, sunlight warms the surface water. A boundary called the thermocline forms several feet below the surface. The thermocline separates the warm surface water from the colder, deeper water. Since cold water is denser than warm water, it stays below the lighter, warm water. The two layers can mix if there is a severe storm or as the seasons change.