What is the structure and function of a gene?

A protein that transcribes DNA to make RNA.
A type of RNA that builds proteins.
A segment of DNA that codes for a specific protein.
A sequence of amino acids that codes for a segment of RNA.