All three branches serve to ensure that the government remains effective. The judicial branch ensures the interpretation of the law. The legislative branch defines and creates the laws, while the executive branch enforces the law.