How is a state-mandated license generally distinguished from a certification?

Answer

A license is required by law to engage in the occupation.

A license grants the legal permission to practice a profession, whereas certification is often voluntary and granted by an external body to indicate advanced or specialized competence beyond the basic legal requirement.

How is a state-mandated license generally distinguished from a certification?
jobprofessionlicenserequirement