Any theoretical books on hacking?

i am learning about hacking and penetration testing and i got a bunch of famous books like penetration testing and hacking the art of exploitation ... but the books go straight to hacking and using stuff that i don't understand. So i want a book that explains vulnerabilities and the whole hacking world and tools, and what it has to do with networking and operating systems to have an overall idea before getting started with practice.