People usually use nightlights for the sense of security which having a light on provides, or to relieve fear of the dark, especially in young children. Nightlights are also useful to the general public by revealing the general layout of a room without requiring a major light to be switched on, for avoiding tripping over stairs, obstacles, or pets, or to mark an emergency exit.