DNA and RNA are chains of nucleotides. Each nucleotide is a pentose sugar, a phosphate group and a nitrogenous base. DNA is a double helix: two antiparallel strands held by hydrogen bonds between the bases, with A always paired with T and G with C. RNA is usually single-stranded, has ribose instead of deoxyribose and uracil instead of thymine.
Before a cell divides, DNA copies itself by semi-conservative replication: each new molecule keeps one old strand and gains one new strand.
A gene is a length of DNA that codes for a polypeptide. In transcription the code is copied into mRNA. In translation, ribosomes read the mRNA three bases (one codon) at a time and tRNA brings the matching amino acids.