Automatic sprinkler systems are installed to extinguish fires that occur within specific areas of a building. These sprinklers are strategically arranged based on hydraulic calculations and design criteria corresponding to the hazard classification of the area.