Compartmentation is the split of spaces in buildings to resist the spread of fire and smoke from one part of a building to another. This uses construction elements like fire-resistant walls, floors, and doors to create barriers, to effectively contain or slow the spread of fire.