DNA can replicate itself. DNA can be transcribed to RNA. Protein coding RNA will be translated to the protein.
The data from RNA can be written back to DNA by some viruses.