Why Does Hair Turn Gray?

Why does hair turn gray? The matter is an issue of genetics and aging.