There are various structures which are designed to take care of various legal disputes.
For the most part, every government is comprised of three main departments. These are often described as government branches. https://susangynq924208.tinyblogging.com/considering-the-court-and-legal-system-these-days-77073952