SEO is the process of optimizing your website for the purposes of increasing the likelihood of appearing in organic listings based on relevant user queries in major Search Engines.
Social media marketing is a term that describes the act of using social networks, online communities, blogs, wikis or any other collaborative Internet form of media for marketing.