A gold ring is made up of a combination of gold and copper. In order to extract the gold in pure form, you want the assist of a goldsmith. In the same way, the soul is inside every living being, but it's miles protected with veils of ignorance.
Only an enlightened being knows how to break the veils of lack of ignorance and separate the body from the soul, as a result making it pure.