A flight recorder is an electronic recording device placed in an aircraft for the purpose of facilitating the investigation of aviation accidents and incidents. The device may be referred to colloquially as a "black box", an outdated name which has become a misnomer because they are required to be painted bright orange, to aid in their recovery after accidents.