A Library is functions already written, verified they work, and can be included when you start writing code, and the compiler will include them to make the final piece of code. A very popular library at the moment is the React library written by Facebook which is used for building user interfaces.