An electrical system that is installed in a building as a protective measure against fire or unauthorized entry. In the event that the system is activated, an alarm (such as an audible signal or flashing light) is turned on; see fire alarm system and burglar alarm system.