On-page SEO is the most fundamental form of optimisation. This is everything you do on your own website to improve its ranking in search engines. This includes doing keyword research, including these keywords in high quality content, and improving the user experience on your website. The ultimate goal of on-page SEO is to create a page that appeals to users.
See also: Off-page SEO, Keyword research