Because platinum is resistant to chlorine and water, hence in the electrolytic process, it doesn't react with any chemical and we get pure products.