Heterosexual marriage isn't fundamental to our very existence and survival. Making babies is essential, which some heterosexual people do, and raising babies into adults is essential, which some gay people and some straight people do. Marriage isn't necessary for any of it.
Treating people equally isn't fundamental to our existence either, but that doesn't mean we shouldn't do it.