What you may want to ask is: “what do walruses do with those long tusks?” The tusks are simply teeth that grow very large (long and rather stout/wide). read more
If I'm not mistaken, the walrus tusk serves the same purpose as horns on a sheep or goat, for fighting (or intimidation of other males) and also for the attraction of a mate. As to why females have tusks too, i believe its for protection of the young, similar to female bovine. read more
It is believed based upon DNA testing on some early fossils that the walrus is related to early forms of bears. They are also very closely related to seals. The differentiating characteristic is that the walrus grows tusks and seals don’t. Another animal that the walrus could be related to is the Saber Tooth Tiger. read more