During the test, some wiring made a spark, and that spark started a fire. A fire needs three things to burn: heat, fuel (something that can burn), and oxygen. In the Apollo 1 spacecraft, the air was all oxygen, and this made the fire grow very quickly and burn very, very hot. In only a few seconds, the fire was out of control.