Company law (also known as corporate law) is the body of law that regulates the formation, organization, and operation of companies, including the rights and obligations of shareholders. This includes rules governing the structure, management, and financing of companies, as well as how shareholders can exercise their rights and obligations.