In ultrasound, what is the function of time-controlled gain?

In ultrasound, what is the function of time-controlled gain?

Gain corrects for the attenuation caused by the depth of a structure.