Wouldn’t it be nice if your reactions only created your desired product? Of course the answer is yes, but that is not the reality of synthetic chemistry. Because our chemical reactions yield multiple components, they need work-up and purification to isolate the desired compound.
Organic chemistry syntheses often use polar, high boiling point solvents to facilitate high temperature reactions. However, these solvents also can complicate down-stream compound purification, either by evaporation, crystallization, or even flash chromatography.