Introduction to the theoretical foundations for modelling and aggregation of credit risks, for modelling the term structure of credit spreads, and for pricing credit derivatives.