One major internal environmental influence that affects gene expression is gender, as is the case with sex-influenced and sex-limited traits. Similarly, drugs, chemicals, temperature, and light are among the external environmental factors that can determine which genes are turned on and off, thereby influencing the way an organism develops and functions.