Morgoth created Trolls at the end of the First Age (twilight of the Elder Days). Their exact origins are unknown, though it is stated by Treebeard that Trolls were "made in mockery of" Ents, similar to the way that Orcs were a twisted parody of the Elves. Many Trolls died in the War of Wrath, but some survived and joined the forces of Sauron, the greatest surviving servant of Morgoth. In the Second Age and Third Age, Trolls were among Sauron's most dangerous warriors and breeds of the various kinds of Trolls could be seen in several conflicts. In the Third Age, Sauron created the Olog-hai, which were more powerful than earlier breeds of Trolls. While most Trolls cannot bear exposure to sunlight without turning to stone, the Olog-hai apparently could, something that made them particularly dangerous. In the years leading up to the War of the Ring, rumors reached the Shire that Trolls were abroad, more cunning than normal, armed with dreadful weapons. TROOLS.
Here's how you can add an image:
Here's how to make a list: