Yes. Sources provide context for your Smart Instructions. When you run a Smart Instruction, Driver searches the sources for references that are relevant to your prompt and uses these references to generate content.
Typically, Pages are written with at least one codebase as a source, but you are free to add any combination of PDF files and codebases. You can also add or remove sources at any time.