One of my friends is about to be dumped off their parents' health insurance and are in the all-american sweet spot of 'too-poor to afford insurance', 'too-rich for medicaid'. We joked about getting married so they could get on my insurance because my union takes care of me pretty good but I'm worried I don't understand the implications enough to make a good decision.

What does getting married actually mean?