Transmission problems can cause the check engine light to come on and it could be that your transmission fluid is low and needs topped off.
Also the gas cap being loose or broken or damaged in any way can cause the check engine light to come so check the gas cap as well.
Sometimes you just need to tighten the gas cap to get the check engine light to go off.
A faulty catalytic converter or engine misfire can also cause a check engine light to come on.
Take your car to Autozone or other auto parts stores or a mechanic and have them plug in a engine diagnostic tool to pull up the error codes to see why the check engine light is coming on.
Autozone and other auto part stores will check your check engine light for free.