difference of seo and sem

what is difference of Seo and Sem ?

Preface: The difference between SEO and SEM lies simply in the fact that search engine optimization is part of search engine marketing or search marketing, as it is widely known. Both processes aim to increase visibility in search engines.