Massachusetts and California are the only states that have legalized gay marriage, while others, including New Jersey and Vermont, allow civil unions. Forty-one states have laws limiting marriage as a union between a man and a woman.