A gene is a stretch of DNA — but DNA itself does almost nothing directly. To do something, the cell copies the gene into messenger RNA (transcription), then reads that RNA three letters at a time to build a chain of amino acids — a protein (translation). This DNA→RNA→protein flow is the central dogma of molecular biology. Type a sequence, then watch a gene become a working molecule.
An enzyme called RNA polymerase clamps onto the gene, unzips the double helix, and reads the template strand 3'→5'. For each template base it adds the complementary RNA base, building messenger RNA that matches the coding strand — except RNA uses U in place of T. Pairing: A→U, T→A, C→G, G→C. Type your own coding-strand sequence (A/C/G/T) and press Transcribe.
The mRNA threads through a ribosome, which reads it in codons — groups of three bases. Each codon is matched by a tRNA carrying one amino acid; the chain grows codon by codon. Reading starts at the first AUG (Met) and ends at a stop codon (UAA/UAG/UGA). This uses the mRNA you just transcribed — try editing one DNA base above and re-transcribing to see a codon change the amino acid (a mutation).
The genetic code (the codons used by the demos; AUG = start/Met, red = stop):
DNA is a stable archive — it stores instructions but rarely acts on its own. The work of a cell is done by proteins: enzymes that speed reactions, structural fibres, signals, channels, antibodies. So to use a gene, the cell first transcribes it into a disposable working copy (mRNA), then translates that copy into a protein.
Roughly, one gene → one polypeptide: a gene's sequence dictates a protein's amino-acid sequence, which folds into a 3-D shape, which determines what the protein does. (Real biology adds splicing, regulation and folding helpers, but this is the core idea.)