D
Test question analysis: A. Hydrocarbons only contain two elements, C and H; B. The carbon-oxygen double bonds in carboxyl and ester groups cannot An addition reaction occurs with hydrogen. 1 mol of rosmarinic acid reacts with up to 7 mol of hydrogen. In item C, the structure of this substance contains 4 phenolic hydroxyl groups, 1 carboxyl group, and 1 ester group, so 6 mol of NaOH is consumed. D. Contains ester The base can undergo hydrolysis reaction, the carbon-carbon double bond can undergo addition reaction, and the carboxyl group can undergo esterification reaction.