In physics, attenuation (in some contexts also called extinction) is the gradual loss in intensity of any kind of flux through a medium. For instance, dark glasses attenuate sunlight, lead attenuates X-rays, and water attenuates both light and sound.