Another way to say "a gallery is for displaying art." is "Art may be displayed in a gallery."