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, sunlight is attenuated by dark glasses, and X-rays are attenuated by lead. In electrical engineering and telecommunications, attenuation affects the propagation of waves and signals in electrical circuits, in optical fibres, as well as in air (radio waves).