They provide a way to organize the various parts of the script into the different tasks that must be accomplished, and they can be reused