Another way to say "a barbershop is used for shortening hair" is "A person goes to a barbershop to have his hair shortened."