You can use plugins such as BuddyPress to create a social network with WordPress. It lets you add social network features such as user profiles, activity feeds, groups, messaging, customization, and more to your WordPress site.