Check engine light
This is true, but there are countless other reasons for an illuminated Check Engine Light (https://www.yourmechanic.com/article/what-does-the-check-engine-warning-light-mean) as well. A loose gas cap will typically set an evaporative emissions (EVAP) system code, such as P0440 (https://www.yourmechanic.com/article/p0440-obd-ii-trouble-code-evaporative-emission-control-system-malfunction-by-jay-safford_2) or P0455 (https://www.yourmechanic.com/article/p0455-obd-ii-trouble-code-system-gross-leak-evaporative-emission-by-john-nelson). The EVAP...