SEO is a part of SEM. SEM includes all methods through which we can list our links on SERPs.