I agree with this answer but I want to add something that
seo mean search engine optimizations and they tried to generate traffic on their web site but sem just want to sale purchase their products
SEM is search engine marketing that usually used by internet marketer to promote their product but
SEO is search engine optimization that used by webmaster or blogger to make their web or blog shown on the first page on search engine result page (SERP)