What did the mammoth use its tusks for?

Their tusks are teeth; the second set of incisors become the tusks. They are used for digging for food, for fighting during mating season, and for defense against predators.