The Check Engine light is a single indicator that is triggered by a fairly broad range of errors the computer detects. Having a loose gas cap is one of the simple things that can trigger it that you can check yourself. If that's not the cause, then the light means "Get me to a mechanic who can hook into the computer and read the more specific error message."
It might be important. You should not delay.
It might be important. You should not delay.