A buildpack is software that transforms application source code into runnable artifacts by analyzing the code and determining the best way to build it.