Genes.Genes are the working unit of the hereditary character of DNA. Genes act as instructions usually coding for a particular protein or function. One form of gene which are called alleles determines the traits that can be passed on from parents to offspring.