A statute is a formal written enactment of a legislative authority that governs a country, state, city, or county. Typically, statutes command or prohibit something, or declare policy. The word is often used to distinguish law made by legislative bodies from the judicial decisions of the common law and the regulations issued by Government agencies. Statutes are sometimes referred to as legislation or "black letter law". As a source of law, statutes are considered primary authority (as opposed to secondary authority).
Before a statute becomes law in some countries, it must be agreed upon by the highest executive in the government, and finally published as part of a code. In many countries, statutes are organized in topical arrangements (or "codified") within publications called codes, such as the United States Code. In the United States, statutory law is distinguished from and subordinate to constitutional law.
The opposite of a chok is a mishpat, a law given for a specified reason, e.g. the Sabbath laws, which were given because "God created the world in six days, but on the seventh day He rested". (Genesis 2:2-3)