The 66 various sections (books) of the Bible were written over a span of centuries by some 40 or so different people. The Bible was compiled by two different groups of people.
The Old Testament was compiled by a council of Jews, but the date is uncertain as to when it was first recognized as a set of scriptures. There are four main parts to the O.T. - The "Law" or "Torah" which comprises the first five books. The Histories, which are works like 1st and 2nd Kings and 1st and 2nd Chronicles. The Prophets, which are those works attributed to prophets like Isaiah, Jeremiah, Ezekiel, and so on. And finally, the "writings" which are works of art and fiction and are included because they are read on Jewish feast days as part of the celebration or ceremony.
The New Testament was first proposed during the second century and finally accepted as "canon" (authorized) by the end of the third century (400 C.E.). It consists of the four Gospels, a brief history (the Acts of the Apostles), the letters of instruction from Paul and other early leaders to the "saints" (members of the church at that time), and finally, a work known as Revelation. Revelation is generally considered by scholars as not being the last book written, but was followed by the writing of the Gospel of John while he was in exile around 90 C.E.