What is the purpose of those capicators between the line and the ground?

I noticed this only happens with two prong plug equipment.