When I was a kid I went through a period of having frequent nightmares. It was sometimes hard to get back to sleep after waking from one. This is when the dim light from the streetlight out my window became a problem. There wasn’t really enough light in the room to see well. There was just enough to see shapes that my brain could turn into something horrible.