How does BuildGraph relate to the BuildCookRun process?

I’m trying to figure out the command-line build system. Is BuildGraph ever used when you are compiling a game? The examples provided for BuildGraph don’t really show anything like that. Is BuildGraph separate from the normal build process, like when you use RunUAT.bat BuildCookRun?