To put it simply, it's a module or a collection of data, documentation, code, classes, etc...
How to use them deppends on the language you're currently writing.
In JAVA, for example, you must use the keyword import and after the name of the library you wish to use like:
import java.util.*