Scripts are written documents used to plan television shows, films, and other visual media. They explain the scenes, narrative, characters, dialogue, directions, shots, camera movements, sounds, and other details. The purpose of a script is to plan the story and scenes so actors know their lines and roles. It is used in production to ensure everyone understands the vision. A script may include original stories or adaptations and typically has a beginning, middle, and end.