The planetary gear works as a differential with the Sun gear, Planet carrier, and Ring gear each connected to something. You can see how this works here:
That animation of the Power Split Device really helped me understand how the thing actually worked, even more than some of the physical models people show do.