Online marketing, digital marketing, and social marketing are all very similar. They are the practice of marketing your business online to gain more customers, followers, brand awareness, etc.
Think of online marketing as the modern yellow pages for business. Most businesses are no longer advertising in physical phone books. They have moved their advertising dollars online to get better results.