Split Tool

Ribbon menu → Bodies tab → Booleans container → Split Tool
or
(Classic) Build → Bodies/Geometry → Split Tool
Splits a complex solid (often referred to as a CSG) that you created using the other Boolean tools back into its primitive solids. It creates a part for each solid resulting from the split operation.
Learn about Splitting a Solid.