The flame trench is a structure located beneath the launch pad or launch platform that directs the hot exhaust gases produced by the rocket engines away from the vehicle and launch complex. It protects the launch vehicle and infrastructure from the intense heat, acoustic vibrations, and other hazards associated with rocket launches.