The generator provides DC voltage to operate the vehicle's electrical system and to keep the battery charged.