When it comes to genetics, physical characteristics like hair and eye color often come to mind. However, genes can also determine your risk for certain types of cancers.