smoke alarms are used to alert people of a fire