Darwin's theory of evolution by natural selection explains that all species share a common ancestry. Genetic variations arise randomly within populations and are subject to natural selection, where traits better suited to the environment are more likely to be passed on through reproduction. Over many generations, this process leads to the emergence of new species. Biopsychology and neuroscience apply principles of biology and evolution to the study of the mind and behavior. The brain is the most complex structure known, with over 100 billion nerve cells, and both genetics and environment influence traits like intelligence, personality, and mental health. Genes provide the basic blueprint for an individual that is carried on chromosomes, but environmental factors also impact how genes are expressed.