Component Comparison. Proteins, carbohydrates and fats are made from three basic molecules: carbon, hydrogen and oxygen. However, all proteins contain anelement not found in carbohydrates and fats -- nitrogen -- and some proteins also contain sulfur.