This is one of the main things that happens in finance. It describes how companies work — they issue debt and equity, etc. — and your mortgage, and banks. In its purest form, where you just have some set of cash flows and you slice them up into junior and senior claims, it is often called “securitization,” or “structured finance.”

Money Stuff: Slicing Cash Flows for Better Ratings by Matt Levine ✉️