On-page optimization refers to optimizing the content and structure of a website's individual pages to improve their relevance and ranking for specific keywords. This can include optimizing page titles, meta descriptions, headings, and content.