Black boxes record data and audio for flights to help determine and reconstruct the events in cases of aircraft accidents.