The use of urea to make urea–formaldehyde resin is second in importance only to its use as a fertilizer. Large amounts of urea are also used for the synthesis of barbiturates. Urea reacts with alcohols to form urethanes and with malonic esters to give barbituric acids.