During transcription, RNA polymerase synthesizes RNA by pairing ribonucleotide triphosphates (ATP, GTP, CTP, UTP) with the DNA template strand. These ribonucleotides provide both the base and the energy (via phosphate groups) for RNA chain elongation.