A fire smoke detector is like a little electronic guard that watches over your home or building. Its main job is to sniff out smoke in the air. If it senses enough smoke, which is usually a sign of a fire starting, it will make a loud beeping noise to warn everyone. This detectors are good at spotting smoke from slow, smoldering fires (like something burning on a stove without a flame). They use a beam of light inside. If smoke gets in the way and scatters the light, the alarm goes off.