Just wondering exactly what is electrolysis and is it safe to do?

Safe. Usually we use it to burn off small blood vessel growth called "spide nevus". It's a low-voltage electric equipment. We also use it to permanently remove hair at axillae(armpits). It is safe in derm's hands.