What makes something fireproof?

Fire safety involves “fire resistant” and “flame retardant” measures.

Source: https://www.livescience.com/how-fireproofing-works.html