The wavelength at which light is absorbed is specific for each element. If a sample containing nickel, for example, together with elements such as lead and copper is exposed to light at the characteristic wavelength for nickel, then only the nickel atoms will absorb this light.