A firewall is an assembly of materials used to prevent fire spread by constructing a wall that extends from the foundation through the roof with a prescribed fire resistance duration and independent structural stability. It separates transformers, structures, or large buildings.