...An Internet "troll" is a person who delights in sowing discord on the Internet. He (and it is usually he) tries to start arguments and upset people.
...Trolls are utterly impervious to criticism (constructive or otherwise). You cannot negotiate with them; you cannot cause them to feel shame or compassion; you cannot reason with them. They cannot be made to feel remorse. For some reason, trolls do not feel they are bound by the rules of courtesy or social responsibility.
Perhaps this sounds inconceivable. You may think, "Surely there is something I can write that will change them." But a true troll can not be changed by mere words.
Why does it Matter?
Some people -- particularly those who have been online for years -- are not upset by trolls and consider them an inevitable hazard of using the net. As the saying goes, "You can't have a picnic without ants."
It would be nice if everybody was so easy-going, but the sad fact is that trolls do discourage people. Established posters may leave a message board because of the arguments that trolls ignite, and lurkers (people who read but do not post) may decide that they do not want to expose themselves to abuse and thus never get involved.
Another problem is that the negative emotions stirred up by trolls leak over into other discussions. Normally affable people can become bitter after reading an angry interchange between a troll and his victims, and this can poison previously friendly interactions between long-time users.
Finally, trolls create a paranoid environment, such that a casual criticism by a new arrival can elicit a ferocious and inappropriate backlash...
What can be Done about Trolls?
When you suspect that somebody is a troll, you might try responding with a polite, mild message to see if it's just somebody in a bad mood. Internet users sometimes let their passions get away from them when seated safely behind their keyboard. If you ignore their bluster and respond in a pleasant manner, they usually calm down.
However, if the person persists in being beastly, and seems to enjoy being unpleasant, the only effective position is summed up as follows:
The only way to deal with trolls is to limit your reaction to reminding others not to respond to trolls. ...
The only thing that trolls can't handle is being ignored...
Why Do They Do It?
Affirmation.
Regular net users know how delightful it is when somebody responds to something they have written. It is a meeting of the minds, which is an intellectual thrill, but it is also an acknowledgement of one's value -- and that can be a very satisfying emotional reward.
Trolls crave attention, and they care not whether it is positive or negative. They see the Internet as a mirror in which they can gaze in narcissistic rapture.
If you want a deeper analysis than that, perhaps a psychologist can shed some additional light on the matter.