They use a combination of light, gravity, water, and touch to figure it out. Roots grow down into the soil, thanks to gravity, while stems reach up towards the light. It's a coordinated effort to ensure they thrive.