Entities governed by laws and laws being enforced

I was wondering if entities are governed by certain laws, who enforced said laws, why are the enforced, why would the enforcer even want to force the laws. Are there any entities exempt from these laws, for example a god of chaos not be controlled by order.

It’s prettt anarchistic.

I don’t understand