The process of forming RNA over a DNA template is called transcription. During transcription, the bases in the RNA transcript are complementary to the bases in the DNA, with the exception of uracil replacing thymine in the RNA.
The four bases in DNA are adenine (A), cytosine (C), guanine (G), and thymine (T). These bases form specific pairs: A with T, and G with C.