A script is the text file that contains code (generally from a scripting language).
It:
It's a part of the source.
It's an executable.