An organism that makes its own food through the process of photoisynthesis.