How do ablative materials protect the underlying vehicle structure?

Answer

The outer layer sacrifices itself, and the resulting hot gas layer carries heat away.

The sacrificial burning process creates a hot gas layer that insulates the vehicle structure underneath, effectively carrying the extreme heat away from the remaining materials.

How do ablative materials protect the underlying vehicle structure?
Aerospaceaeronauticsheat shieldthermal protection systemreentry vehicle