Diet plays a significant role in keeping your hair healthy.