Separation of concerns
Definition
Separation of concerns is the design principle of splitting software into parts that each address one concern, with minimal overlap between them.
In practice
It is the idea behind layers, rings, modules and services alike: HTTP parsing does not belong next to tax rules, and SQL does not belong in a controller. Separated concerns can be understood, tested and replaced independently, and a change in one is less likely to break another.
The hard part is choosing which concerns to separate. Splitting by technical concern (layers) keeps each feature spread across many places, while splitting by business capability (slices, modules) keeps features together. Over-separating into tiny pieces creates indirection that is harder to follow than the code it replaced.
Example
Price calculation lives in PricingRules, which knows nothing about HTTP or SQL; the endpoint only maps requests and the repository only loads and saves.