Answer:
This is because Carbon has four valence electrons (tetravalent) which gives it the ability to form up to four bonds differently with different elements/compounds. This gives rise to the creation of lots of compounds.
Carbon as an element also has atoms which fits into most substances thereby creating different possible compounds with others such as in carbohydrates, proteins, lipids etc. This is what makes Carbon an essential element for life.