Butter is an emulsion made from fat and protein components of churned cream. When we cook till it melts, it gives us clarified butter. And when we completely cook and strain out the milk solids, we get the clear butterfat ghee.