While returning home from an outing, I accelerated the gas to switch lanes and the check engine light came on, I heard a gravel like pop noise. And saw smoke coming from my car towards the back. A car next to me told me to pull over as my car was on fire. After finding a safe destination to pull over, the hood of my car and engine caught on fire. Thus resulting to a total loss of the car and assistance from the fire department as well as the police department to deal with the aftermath of the vehicle.