If you source a script, it will read the commands from the script and run it in the current shell. However, if you don’t source a script, your system will create a new process to run the script and it won’t affect your current shell.