Here we describe in detail how credit risk arises in both the banking book and the trading book and the significance of this distinction. The regulatory and risk management implications of this distinction are also examined.