You can collect books from the bookshelves by making matches of the same color as one of them. You can also clear them with explosions. An explosion will remove a book of a random color.