Fat: initially hydrolyzed into glycerol and fatty acids, and finally hydrolyzed into C, H, O, partly N and P.
Protein: Initially hydrolyzed into amino acids, and finally hydrolyzed into C, H, O, N, and some also contain P and S.
DNA: Initially hydrolyzed into deoxyribonucleic acid, and finally hydrolyzed into deoxyribonucleic acid, phosphoric acid and bases (A, T, G, C).
RNA: initially hydrolyzed into ribonucleic acid, and finally hydrolyzed into ribose, phosphate and bases (a, u, g, c).