Quality Score (also known as QS) is calculated by Google AdWords and looks at a variety of factors to measure how relevant a keyword is to the ad text, the landing page and to a user's search query.
A high Quality Score means that a keyword will trigger ads in a higher position and at a lower cost-per-click (CPC).