Grounding is important because it helps to prevent electrocution. If the generator comes into contact with water, the electrical current from the generator can travel through the water and cause serious injury or death. Rounding provides a path for the electricity to flow away from the generator, preventing it from coming into contact with people or animals.