What are algorithms? How do they rank websites?
You will get the answers in this video
There are 5 key important factors apart from the hundreds that google considers while rankings websites in SERPs
1. Meaning of your query – What is the meaning behind the query, What is the searcher expecting as answers? Does your website has answers? or do you just repeat the question a hundred times?
2. Relevance of webpages – How relevant is your webpage to the query? is exact keyword match necessary?
3. Quality of content – How do You define quality? What is EAT? How to establish authority?
4. Usability of webpages – Browser compatibility, Mobile responsiveness and loading speed. Does you website comply?
5. Context and settings – Consider context, Past searches, location and search settings of the users

To view the full playlist on Search Engine Optimization : https://www.youtube.com/watch?v=EGVZAEwRAeY&list=PLJ6KPze7Nael2MUEfV6mpnx5TrGrlwKRV