How a black box works and what it found in the Air India flight crash report?

The Air India flight crash report said that both engines lost thrust shortly after takeoff because the aircraft’s fuel control switches had been turned off.

How a black box works and what it found in the Air India flight crash report?
The Air India flight crash report said that both engines lost thrust shortly after takeoff because the aircraft’s fuel control switches had been turned off.