Device which is used for measuring the depth of the sea or depth of an particular object in water, is called echo sounder.
It sends the sound wave and note the time when sound wave come back.
Speed of the wave is know so we can calculate the distance.