Answer :

The statement that correctly compares nucleis acids and carbohydrates is that they both contain carbon, but only nucleic acids contaion phosphorus.

nucleic acids and carbhdrate both have carbon, but nucleic acids has phosphorous in it.