Governments are responsible for developing legislations, whereas courts are developed to impose them.
There are different systems and structures which play an important function in society. An example of one of these https://neilcccj667252.gynoblog.com/32632268/taking-a-look-at-the-court-and-legal-system-these-days