The Bible is a collection of books, written by various authors over a period of several hundred years. Think of the Bible as a diverse anthology of godly communication. It contains historic accounts, poetry, letters of instruction and encouragement, messages from God sent through his emissaries (prophets), and prophecies of future events.
Altogether, the Bible contains 66 books*. They’re grouped into two sections. The Old Testament contains 39 books* that precede and anticipate Jesus. The New Testament contains 27 books that cover Jesus’ life and the work of his followers after his death.
* see Apocrypha for more information