Genes are the basic units of heredity. They provide the instructions for all of the body’s traits and functions. You inherit approximately half of your genes from your mother, and half from your father. Each gene is a segment of DNA that contains the instructions for the creation of a molecule called a protein. A change in a gene, also known as a variant, can cause that gene not to function properly. While most variants are harmless, some can result in medical conditions.