credit spread risk vs interest rate risk

so confused about the differences of credit spread risk and interest rate risk? Please add comments

Interest rate risk is the risk of loss resulting from changes in interest rate, ex change in the shape of yield curve.

credit spread risk is the risk of loss from widening of spread between treasury and an issue that is identical to treasury except for rating.

me thinks.