The study of how traits are inherited through the interactions of alleles in DNA.