Why are there ‘heat switches’ in side the hood, when there are UV detectors?

Heat switches are a mechanical type and they are considered to be a positive type of fire detection system. The heat switch settings are much higher than the hood temperature.