Quality score is a score given to your ads, keywords, and landing pages based on their relevance. Your quality score will ultimately determine your CPC for that Ad. Good quality naturally means lesser costs and higher positions.
The factors that affect a quality score are – CTR, Landing page experience, and relevance.