It seems like a magical process : You create the content, advertisers pay for the ads, YouTube puts the two together, and you start getting checks in your bank account. For those who are a little more curious about exactly how that happens, CGP Grey explains how YouTube’s algorithms connect videos, advertisers, and what slice of the pie a content reator can expect to get.