Books used to be written by hand. Not many of them were made. At that time, they were kept in small boxes or chests. The boxes or chests were carried around with the owners. When people started having a lot of books and other manuscripts, they kept them on shelves or in cupboards. Later the cupboard doors were removed. The cupboards then looked like today's bookcases.