It is from the Roman (Latin) word barba, meaning beard, that the word “barber” is derived. … Since the barbers were involved not only with haircutting, hairdressing and shaving but also with surgery, they were called barber-surgeons.

http://annarborbarbershop.com/