That is just one kind of digital marketing. Getting traffic to a site is not the same thing as getting a business to buy a product. And selling a SaaS product is different then selling a service or a physical device. Every different goal has different channels that will work, different audiences, and thereby needs different marketing plans.
To really understand digital marketing, you first need to understand marketing in general, and then learn how to apply it to digital channels.