I'm not sure if you've seen it already but here's a pdf guide that tries to explain how they both work together.

It's tricky to explain in a concise way but I try to summarize it with the...