What is the difference between Steam Engine and Petrol Engine?

The difference between Steam Engine and Petrol Engine are : Steam engine is an external combustion engine. In this steam is produced in a outside the cylinder whereas petrol engine is an internal combustion engine. In this, the fuel is burned inside the cylinder of the engine.