What is the purpose of the commutator and brushes on a DC generator?
transfer generated direct current voltage from the armature to the line
convert the alternating current voltage generated within the armature to a direct current voltage to the line
provide a sliding contact method to excite the field
reduce sparking between the armature and the carbon brushes