Digital marketing is the process of marketing of your brand and product by using various techniques like SEO, SEM, PPC, Content marketing, Email marketing, etc. Whereas SEO is a part of digital marketing. It is used to get more traffic to your site and also improves website organic ranking in SERP.