Salutations!
Organisms that derive their energy from the sun and carbon from carbon dioxide area photoautotrophs. These organisms carry out photosynthesis. Examples of photoautotrophic organisms are: algae, green plants etc.
Hope I helped (:
Have a great day!