Smoke alarms and carbon monoxide alarms have very specific requirements related to electrical power, proper placement, and interconnection. In some instances, a battery-operated smoke alarm may be acceptable. In other instances, smoke alarms must derive primary power from the building wiring. Also, certain types of smoke alarms are required to be installed further away from permanently installed cooking appliances. Smoke alarms and carbon monoxide alarms are important features which are intended to save lives. Proper inspection often requires visual confirmation of certain installation conditions.