I think you said it just right; it implies understanding and virtual emotional support. It's safe online as well because just grabbing someone in real life and hugging them can have disastrous consequences. But here we can

to demonstrate to others that they aren't alone with their problems and there are people out there that support them.