which of these is a segment of dna that contains the information necessary to produce a protein
A gene is a segment of nucleic acid that contains the information necessary to produce a functional product, usually a protein. Genes consist of a long strand of DNA (RNA in some viruses) that contains a promoter, which controls the activity of a gene, and a coding sequence, which determines what the gene produces.