Another way to say "a barbershop is used for shortening hair" is "Hair gets shortened, for example, in a barbershop."