The design of fire safety systems also needs to comply with local and national fire codes. These regulations ensure that every building adheres to the necessary fire safety standards regardless of its size or purpose. Fire safety codes dictate specific requirements for building materials, fire exits, and the number of fire extinguishers required.