Another way to say "a bookstore is used for buying books" is "One purpose of a bookstore is buying books."