Carbon can form huge number of carbon compounds because of the following properties:
1. Catenation: Carbon can form bonds with other carbon atoms. This property is called catenation. Because of catenation, carbon can form long chains, branched chains and closed chains.
2. Carbon can form compounds with many other elements.