The functional segments of DNA are genes.
Genes are the functional segments of DNA. They are the smallest units of DNA which determines a particular trait of an organism.
The main function of DNA at a molecular level, is to signal the ribosomes to form proteins.