Online chatting with strangers has enabled them to find an entirely new world in their existing ones. Some people find it easy they can just go to a bar, pub or restaurant and randomly start talking to strangers but for others who find it really hard to interact with people out in the world, online portals and apps have made easy to have a chat with strangers.
It may be for help, a different perspective on their own lives, looking for someone to spend time with for a short get away from their normal lives or even looking to spend time with that someone for their entire lives.
Humans are social animals and in the most critical situations, people resort to other people.