Carbonhas a valency 4. Therefore it is difficult for it to gain or lose electrons hence it shared its electron with other elements and form covalent bonds. It has a property of catenation.
Not what you are looking for? Go ahead and submit the question, we will get back to you.