I see these two lines in a shell script online. What does the "script_dir" parameter do when passed to the NAME_1 build command?

The lines are:

script_dir="$(realpath "$(dirname "${0}")")"
NAME_1 build -t whisper-${MODEL} --build-arg model=${MODEL} "${script_dir}"