Petrol compression tester is used to diagnose engine health by measuring the pressure inside each cylinder. It helps identify engine problems like worn piston rings, faulty valves, and blown head gaskets by checking for consistent pressure across cylinders and indicating leaks within the engine's sealing components.