Another way to say "a bookshelf is for displaying books." is "Books are displayed on a bookshelf."