Search engine marketing (SEM) is different from search engine optimization (SEO) in that SEM involves paying for advertising on search engines, while SEO involves improving the organic search ranking of a website through techniques such as keyword research and content optimization.