SEO (Search Engine Optimization) is the practice of optimizing a website or webpage to increase the quantity and quality of its traffic from a search engine’s organic results. The benefits are obvious: free, passive traffic to your website, month after month.
On-Page SEO: On-page SEO is a technique that is used for optimizing individual web pages in order to rank higher and earn more relevant traffic in search engines. In search engine optimization, like google, yahoo, and bing on-page optimization refers to a factor that has an effect on your website and web page listing in the natural search results.
Off-Page SEO: Off-page optimization refers to the technique that can be used to improve the position of a website on a search engine results page(SERPS). Many people associate off-page SEO with link building but it is not only that. It is also used in promotion methods like blogging, website design, social bookmarking, etc.
source