Genes are segments of DNA molecules that carry genetic information essential for various biological processes. This genetic information is passed from parents to offspring. Each gene is a specific sequence of DNA that performs a particular function, such as directing the production of proteins necessary for the development and functioning of organs.