Books are resources that everyone can use (for knowledge, entertanment, study...).
If you used information from a book or books, then it/they is the source of your information.
P.S. Resource is something/someone that you, other people, organizations, countries... can use.
Source is the origin of something.