The vehicle's engine caught fire approximately 13 1/2 hours after last having been driven. I parked it in my driveway at 9pm on April 15, 2022. I was alerted to a fire in the engine by my neighbor at 10:30am on April 16, 2022. The entire engine was engulfed in flames, melting all of the plastic components. It burned through my hood and affected every part of the engine. We were able to get the fire out with a garden hose before it spread to the house and my parents' two other vehicles parked next to it. No one was burned while putting out the fire, but several neighbors and family members did breathe in the toxic smoke. 911 was called and the fire department confirmed the fire was out. The driveway under the vehicle has burn damage, but we haven't moved the vehicle yet to see the extent of it. The check engine light had been on since purchase. The vehicle had been maintained by a mechanic specializing in import motors. He was unable to determine the cause of the check engine alert, and said it was a problem that BMW has with several of their models of this era. The vehicle was only covered under liability insurance, so our insurance company has not required an inspection. It has not yet been inspected by a mechanic or any other entity. The vehicle is available for inspection if requested.