The earth wire (grounding wire) is connected to the outer metallic body of the appliance. This ensures that if any live wire accidentally touches the metal body, the current safely flows to earth through the earth wire, preventing electric shock. It is not connected to the fuse (which protects against overcurrent), the filament (the heating element), or short circuitry.