One-liner
A credit rating (from agencies like S&P, Moody's, Fitch) is just their read on how likely a company is to pay you back, based on public information and on confidential data the company shares with them. Subordination is where you stand in line to be paid if the company defaults.
Why it matters
The same company does not issue every bond at the same risk. The rating shifts with the seniority of the debt and the maturity, so one issuer's senior and subordinated bonds can sit a few notches apart, typically one to three. Secured debt is far safer than a clean, unsecured loan.
Analogy
In a default, creditors form a queue for whatever money is left. Sit near the front and you are more likely to be paid in full, which is exactly why senior debt usually pays a lower rate.
The catch
AAA does not mean the risk is tiny. It means that, on what the agency was shown, it looks tiny. Americanas in Brazil was rated AAA on the Brazilian national scale (brAAA, which ranks issuers against each other inside Brazil, not against the world) and then, on a fraud, defaulted overnight.
Extra
Shareholders come at the very end of this queue if the company goes under.
A worked example
A company defaults, 100 left to share
- Senior secured, owed 60, paid first
- 60, in full
- Subordinated, owed 60, splits the 40 left: per euro
- about 67 cents
- Shareholders
- nothing
The extra point and a half the subordinated paid every year was the price of standing in that part of the queue.