The sensors detect when headlight glare from the cars behind you could affect your vision and automatically dim the rearview mirror in response.