On-page SEO is the process of optimizing elements on your website itself.
Off-page optimization is the process of linking or promoting your website using link building