The third prong on a three-prong plug serves as the earth path or ground connection. Its primary purpose is to offer a secure route for electrical current to the ground during a fault, thereby preventing electric shocks and safeguarding individuals from electrical dangers. The remaining two prongs are for the live (phase) and neutral connections.