The creative leads who turn a script into a film or episode: casting with producers, directing actors and crew, and shaping the cut, with power ranging from hired episodic director to auteur with final cut.
Film directors are one player in the film & television industry, and an industry of their own, with their own suppliers, customers, software, regulators, and money flows. This full map is on the roadmap.
Meanwhile: how film directors fit into film & television