Default refers to when a borrower does not make a scheduled payment of interest or a repayment of the principal
Credit ratings agencies rate companies on their likelihood of companies or governments defaulting on their payment of interest or a repayment of the principal. The rating can have an impact on the valuation of a bond and as a result, bonds with a poorer credit rating (sub investment grade) tend to have higher yields than those with high credit ratings.