Ask the Internet what is marriage, and the standard definition you will come across is that it is a socially or ritually recognised union between spouses that establishes rights and obligations between those spouses, as well as between them and any resulting biological or adopted children and affinity (in-laws and other family through marriage).