A major study looked at the link between lifestyle choices and diseases.