Why do we need libraries?
A library is a JavaScript file that contains a bunch of functions, and those functions accomplish some useful task for your webpage.
We need libraries in order to use functions and code that has already been written/created to save time and improve our efficiency.