The correct answer is B) plants and algae. Both plants and algae are capable of photosynthesis, utilizing sunlight to convert carbon dioxide and water into glucose and oxygen. Fungi and animals do not perform photosynthesis, while some protists, like certain types of algae, do.