Question: organism that is both autotrophic and heterotrophic?
Answer: There are some unicellular organisms that carry out both heterotrophic and autotrophic nutrition, meaning they are mixotrophic. Such is the case of euglena gracilis (below), which carries out photosynthesis in its chloroplasts as well as also feeding on detritus or smaller organisms by endocytosis.