1. What is the function of a fire detection system?