Libraries is a set of classes/functions that provides reusable functionalities. The client usually calls the libraries to perform some tasks like system structure controls and flow.
A library function executes based on the given input and return the output.