Surface water temperature depends on latitude and season. The temperature of the surface water in the ocean changes from place to place and from season to season.
Ocean temperature depends on the amount of solar energy absorbed. For example, tropical oceans receive a lot of direct overhead sunlight for much of the year, so the water is warm.
The temperature of the surface waters varies mainly with latitude. For example The polar seas which are found on high latitude can be as cold as -2 degrees Celsius while the Persian Gulf which is on low latitude can be as warm as 36 degrees Celsius.