They are both components of DNA and proteins.