The direct heat from the Sun is thermal infrared, if this didn???t heat the oceans because it couldn???t penetrate more than a few microns there would be no such thing as swimming in really warm tropical waters ??? it would be cold water with a thin layer of heat on it!