Legal union between two people of the same sex who are in a partnership. In the United States, same-sex marriage differs from civil unions in that the former is recognized at the federal level, whereas the latter is only recognized at the state level and may not be recognized by other states.