What is on page SEO and why is it part of SEO best practice?

On page SEO is part of SEO best practice because it helps search engines understand what each page is about and which searches it should appear for. It includes writing clear page titles, using headings properly and ensuring the content answers the user’s query in a structured way. On page SEO also supports user experience because it makes pages easier to scan, understand and trust.