In computer science, a library is a collection of read-only resources that is leveraged during software development to implement a computer program.