Generator grounding is the process of connecting the metal frame of the generator to a metal rod driven into the ground. This helps to prevent electrocution by providing a path for electricity to flow if the generator comes into contact with water.