You must have heard about two terms while talking about SEO ranking, i.e., On-Page SEO and Off-Page SEO. These are the two main factors where you need to work for good SEO ranking in Google SERP.
On-Page SEO: In this factor, you need to work on website optimization that includes Content, Website Code, Meta Tags, Heading Tags, Alt Attributes, URL structure, and links.
Off-Page SEO: In this factor, you need to work on website authority by building the right inbound links and social signals.