Library in programming is a collection of non-volatile resources used by computer programs, often to develop software. These might include configuration data, documentation, help data, message templates, pre-written code and subroutines, classes, values or type specifications. Think of it like a toolbox where developers can pick and choose pre-made tools to help build software more efficiently.