All the diagrams I found online sucked, so I quickly drew a slightly better one. Hosted here for posterity.
Insert your license here