How internet marketing uses in SEO?

SEO is search engine optimization.It is process of getting traffic. How it is related with marketing?