Marriage can be recognized by a state, an organization, a religious authority, a tribal group, a local community or peers. It is often viewed as a contract. Civil marriage, which does not exist in some countries, is marriage without religious content carried out by a government institution in accordance with the marriage laws of the jurisdiction, and recognised as creating the rights and obligations intrinsic to matrimony.
Marriages can be performed in a secular civil ceremony or in a religious setting via a wedding ceremony. The act of marriage usually creates normative or legal obligations between the individuals involved, and any offspring they may produce. In terms of legal recognition, most sovereign states and other jurisdictions limit marriage to opposite-sex couples and a diminishing number of these permit polygyny, child marriages, and forced marriages.