Pretty much the title. I notice when I watch sitcoms, for example, that episodes will be written by one or two people, and those people are different almost every time. How do they communicate with each other? How do they decide who writes what episode? How do they keep a cohesive story going?