often influence traits independently of genes. But not always. Sometimes the environment changes a gene—either its DNA sequence or its activity level. Either of these effects can change the proteins that are made from a gene, which in turn affects traits.