Charles Darwin died in 1882. In his time, modern genetics did not yet exist. DNA was only discovered in 1953 by James Watson and Francis Crick.