What is collagen for hair for?

Hair needs constant care. Curls suffer...