Carbon atoms have four electrons in their outer shell. So, it exhibits tetravalency & thus, a single carbon atom can form a maximum of four (4) bonds with other atoms.
If the orange spheres are Carbon atoms , the cyan spheres are other atoms , & the green lines are bonds , then the diagram below well represents the Tetravalency of Carbon atoms.
This diagram shows maximum valency of Carbon atoms.