If you lend money to someone, a credit rating tells you about the chance that you may not get your money back. Debt issuers i.e. those who borrow money, are grouped into groups with each group with a similar risk of default.