This answer is not quite correct. Hydrogen bromide will react with alcohols to form bromides but when the alcohol is a secondary or tertiary alcohol, the substitution yield is very low and alkenes will be formed in greater yields. One of the other answers changes the alcohol group into a great leaving group and gives better yields.