Another way to say "a barbershop is used for shortening hair" is "Shortening hair is one purpose of a barbershop."