The Derailleur Hanger is an important piece on your bike that protects your expensive rear derailleur. The idea is that the hanger bends before your derailleur gets bent or broken..
Make sure to always have a spare derailleur hanger or two at home or when you are traveling with your bike, they are cheap and easy to replace.