Night lights are small lamps that appear in the episode "Night Light." They can be bought at the Barg'N-Mart and are a variety of different night lights that are hung on the wall of Barg'N-Mart labeled with "Night Lights."
Role in episode
After SpongeBob reads a very scary story, he becomes scared of the dark and cannot sleep. In the Krusty Krab, Mr. Krabs tells him to get a night light if he is scared of the dark. SpongeBob goes into the Barg'N-Mart and buys one, but he is still scared, so he buys more so that his whole house is full of them. Even Gary's shell has one.
Patrick notices the light in SpongeBob's house and mistakes it for a house party, so he comes on over to join in on the fun. However, SpongeBob informs him about the dangers of sleeping in the dark, which leads Patrick to refuse to go back under his rock and staying at his best friend's place.
Squidward's eyes get strained from the light shining through SpongeBob's houses, so he tells the two that monsters are just a figment of their imagination, though they don't believe him. As a result, SpongeBob and Patrick wind up bringing the entire lighthouse to the former's place so the brightness of the atmosphere reaches its capacity.
The light from the lighthouse displays an 'M' in the sky, so Mermaid Man and Barnacle Boy come. The light starts attracting The Moth, one of Mermaid Man's enemies who he has been searching 57 years for, but SpongeBob stops him by trapping him in the lighthouse. As revenge, the Moth flies away with both the lighthouse and SpongeBob's pineapple. This forces SpongeBob and Patrick to sleep through the creepy nature of outdoors, though they are then granted luck after the sun shortly rises.