Library
Persian equivalent کتابخانهٔ نرمافزاری
In plain language A library is reusable code that an application can call to do a job.
Short definition It packages functions, classes, or modules behind interfaces intended for reuse by other software.
Detailed explanation and example
A Python program can call the json module to serialize a dictionary. The calling application decides when and how to perform that step.