The main difference is that Search Engine Optimization (SEO) is focused on optimizing a website in order to get traffic from organic search results. On the other hand, the goal of Search Engine Marketing (SEM) is to get traffic and visibility from both organic and paid searches.