The purpose of electrifying the electrolyte solution is to create an electric field that will cause the oxidation reaction of the titanium part. This will create the desired oxide layer on the surface of the part.