Although a lot of light reaches the surface of the seas, in the depths there is complete darkness. This phenomenon is common to any wave and is called absorption.
Absorption is the consequence of the fact that the medium in which the wave propagates "keeps" a part of its energy.
The following visual will help you to understand this phenomenon more easily.

Licencia de Creative Commons Licencia Creative Commons Reconocimiento-No Comercial-Compartir Igual 3.0 España
logo INTEF
Ministerio de Educación, Cultura y Deporte