Another way to say "a bookshelf is for holding books." is "Bookshelves hold books."