What does OBD do in a car?

https://www.youtube.com/watch?v=62nbA6IwVNg What can an OBD tell you?What problems does the OBD system detect? Fuel Systems. Engine Misfires. Emissions Control Systems. Vehicle/Speed Idling Controls. Computer Systems....