A method of producing an aggregate of hollow or solid carbon fibers is provided, which comprises the step of (i) heating a solution comprising carbon, oxygen, hydrogen, and sulfur as components; or (ii) heating a vapor of a solution comprising carbon, oxygen, hydrogen, and sulfur as components in an atmosphere of a saturated vapor of the solution.