We now understand that genomes in all three domains of life produce functional RNAs that do not encode proteins (non-coding (nc)RNAs), but do exert important influences on diverse cellular processes.
The RNA world hypothesis proposes that early life was based on RNA, which subsequently devolved the storage of information to more stable DNA, and catalytic functions to more versatile proteins.