Carbohydrates are used for energy (glucose) and the fats are used for energy after they are broken into fatty acid
Proteins also use energy but the first job is to help with making hormones, muscle
Lipids perform structural components of cell membranes and function as energy storehouses