They are used for digging for roots and stripping the bark off trees for food , and , fighting each other during mating season , or defending themselves against predators . They are used for digging for roots and stripping the bark off trees for food , for fighting each other during mating season , and for defending themselves against predators .