It is a machine or a recorder that is built in all the flights and records the details of each flight. This helps in investigating the cause of a crash or an incident.