Carbon forms the key component for all known life on Earth. Complex molecules are made up of carbon bonded with other elements, especially oxygen, hydrogen and nitrogen, and carbon is able to bond with all of these because of its four valence electrons.