> In Scandinavian mythology, trolls are large, ugly, unfriendly, brutish, slow-witted, anti-Christian creatures said to dwell in isolated rocks, mountains, or caves. In the movie, there are two main types of trolls: mountain trolls and woodland trolls. Subtypes include Ringlefinch, Tosserlad, Rimetosser, Mountain Kings, the Harding, and Jotnar.
But it doesn't say what they do, in addition to dwelling.
I don't know that they essentially do anything. There are many stories... they kind of just do unfriendly people things? mostly... they guard treasure and sleep for thousands of years sometimes?
And then there's online trolling: https://gizmodo.com/the-first-internet-troll-1652485292
They guard whatever it is that they're trying to dominate :)