What are Libraries in Linux?

If you are new to Linux, you are most likely to encounter libraries, which can be either static or shared. But what are libraries? When someone writes a program, object…