Why you are not using petrol in diesel engine?

Diesel and petrol engines work differently. Diesel engines use compression to ignite the air/fuel mixture, and have a much higher compression ratio than petrol engines, which use spark ignition. The conditions for ignition are not met when petrol is put into a diesel engine, and will stall.