How do light and dark reactions work together?

How do light and dark reactions work together?