Why are cactus hairy?

to prevent it from being eaten by a predator; hairs also act to reflect additional sunlight