SEO is based on organic practices and SEM is based on paid advertising.  The main difference between them is SEO is free and takes time to take effect while SEM is paid and reflects the results instantly.