👉 In genetics, a gene is a unit of genetic material that codes for an enzyme or protein. When two genes are located on different chromosomes, they can be inherited together and pass down their traits to offspring. This is known as genetic inheritance.