A research library is a library which contains an in-depth collection of material on one or several subjects. The library will generally include primary sources and related material. A research library can be contrasted with a lending library due to the difference in breadth of subjects and collections between the two, as lending libraries house books of all types.