In Salesforce, a subflow is a type of flow that allows you to encapsulate a set of reusable steps or logic within a larger flow. A subflow can be thought of as a mini-flow within a larger flow, with its own inputs, outputs, and logic.