Law is a system of rules and guidelines enforced through social institutions to govern behavior. It consists of commands from a sovereign backed by the threat of sanctions. There are three main types of law: public law governs relationships between individuals and the government; private law affects rights between individuals, families, and businesses; and business law applies to commercial activities and dealings. The five main institutions that create and enforce law are the judiciary, legislature, executive, military and police, and bureaucracy.