The build system receives your code
The build system fetches a buildpack, the foundation of the slug compilation process
The build system fetches the language runtime
Heroku uses a variety of dependency managers to fetch your code dependencies
The build system produces a slug, a bundle of the source, dependencies, runtime, and output, that is injected into a dyno to run your app