They have evolutionary adaptations to handle these low-light environments, which include making broad, thin leaves to capture as much sunlight as they can. But basically if a plant is green, it needs sunlight at some point to grow. Otherwise, it can't survive.