We can say that SEO is subset of Search engine marketing. Generally both are important as SEO process is to create many backlinks towards your site and SEM is the paid marketing related to your targeted audiance.