In churning milk, the need for churning out butter is:
to obtain two useful components
Churning is the process of shaking up cream (or whole milk) to make butter. After churning out butter from milk, we use both the components for different purposes. Therefore, we are just separating two useful components.