The build image provides the base image from which the build environment is constructed.
The run image provides the base image for application images.
A stack (deprecated) is the grouping together of the build and run base images, represented by a unique ID.