into a wall can serve many purposes. Some are genuinely night lights, while others may be air fresheners, insect repellents, Wi-Fi accessories, motion sensors, USB power adapters, or other types of household equipment.
A night light will generally have some kind of light-emitting component, such as a small LED or bulb, and is designed to provide low-level illumination. However, appearance alone isn’t enough to identify an unfamiliar electrical device.
That’s why a photo, model number, or manufacturer’s label is important before reaching a definite conclusion.