For a protein-coding gene, a cell can copy information from DNA into RNA, process the RNA, and let a ribosome read messenger RNA to assemble a protein. This is a useful model, but many RNAs have jobs of their own and do not become proteins.
DNA is a molecule; a gene is a usable stretch of information
Genes sit within much longer DNA molecules. Their control regions, transcribed regions, and protein-coding parts have different jobs. These diagrams simplify a complicated system so you can see how the pieces fit.
Each strand has a sugar-phosphate backbone on the outside and bases on the inside. Adenine pairs with thymine; cytosine pairs with guanine. The strands run in opposite chemical directions, called antiparallel.
A flat “ladder” view makes the matching bases and opposite directions easier to see; real DNA twists into a double helix. Nucleotide · Base pair
In this example, transcription moves from left to right. The promoter helps start an RNA copy. The enhancer is drawn upstream just to fit the page; real enhancers can be far away or on either side of a gene. Exons remain in the processed RNA, while an intron is removed. Coding sequence can be split across exons, and untranslated regions stay in the mature RNA without encoding the main protein.
Keep these terms separate
An exon is defined by transcript processing; it may include coding sequence, a UTR, or both. The CDS is the part translated into a protein. An open reading frame is a sequence pattern that may suggest coding potential, but evidence is needed to show that it is translated.