What is the Definition of Genes?

A gene harbors all of the data to build and control their cells and give genetic traits to the offspring. These are how things are passed down through heredity.