‘Directors are the creative leads of the film. They hold the creative vision throughout the whole process, from pre-production through to the final edit.
They are employed by the executive producer or producer, who is ultimately in charge of a production. Directors start with a script, and work with a screenwriter and sometimes a script editing team. It’s not uncommon for the director to be the screenwriter as well.’
source – https://www.screenskills.com/job-profiles/browse/film-and-tv-drama/development-film-and-tv-drama-job-profiles/director-film-and-tv-drama/#:~:text=What%20does%20a%20director%20do,in%20charge%20of%20a%20production.