The main reason I ask this is because my world's moons both have long periods of darkness based on their phases (see here) so plant life needs to have a way to persist through such a lack of light. I know chemosynthetic bacteria can thrive without light, and there are already species of tube wormsspecies of tube worms that rely on these bacteria in favor of a digestive system. So, what I want to know is, could a plant theoretically rely on chemosynthetic bacteria in the absence of light, and if so, what are the requirements for it to occur? Or, if possible, could plants that can simply conduct both photosynthesis and chemosynthesis exist?