Hello and welcome to Just answer.com, Super mechanic here. About your vehicle.
There are several areas of the vehicle's powertrain systems that will cause the service light or check engine light to come on.
You will want to have the code(s) read to know what area may have caused this. Of course, you should check that your gas cap is tight, as that will cause the light to come on, (evap leak)
Normally Autozone will read the codes as a service at no charge to you, and also tell you the most likely part or system the problem is in.
When we know the code(s) we will know what area(s) you will need to address, thanks