Macronutrients are carbohydrates (sugars and starches), lipids (fats) and proteins.
is none of these; it's a compound found in a few foods, but mostly made in your skin when you are exposed to sufficient sunlight. Your body uses vitamin d in many ways. Macronutrient use by your body is somewhat simpler. Carbs
are for fuel. Fats are for energy storage. Proteins are building blocks.