Photosynthesis is when plants use sunlight to synthesize food from carbon dioxide. Plants are autotrophs (they make their own food) and the food they synthesize creates carbohydrates, so the correct answer is D - autotrophs produce carbohydrates.
Hope this helps.