What are the "only" and "except" parameters in GitLab CI/CD?

Please anyone tell me what are the “only” and “except” parameters in GitLab CI/CD.

Only - It limits when jobs are created. Also used as only:refs, only:kubernetes

except - It limits when jobs are not created. Also used as except:refs, except:kunernetes