Question: how swaps are used to manage risks?
Answer: Swaps are used to manage risk in a couple ways. First, you can use swaps to ensure favorable cash flows, either through timing (as with the coupons on bonds) or through the types of assets being exchanged (as with foreign exchange swaps that ensure a corporation has the right type of currency).