In the field of Computer Programming, “Library” pertains to the efficiently-documented collation of stable resources. Such may include executable files, documentation, message templates, and written codes.
Collections of pre-written modules also fall under this category. When these are employed, libraries are capable of performing specific sets of actions or producing particular output. These modules may take the form of codes, class definitions, procedures, scripts, and configuration data. What this means is that developers can call upon the modules in the library without the need of rewriting the entire code for every module. This is done from scratch.
Simply put, these modules are able to reuse the behaviour provided by the other libraries instead of producing new modules.
One can generalize libraries in light of non-specialized usage such as time-telling and basic mathematical operations and specialized purposes such as decoding sound file compression.