Dihydroorotate is synthesized to orotic acid by the enzyme dihydroorate dehydrogenase, where it later combines with phosphoribosyl pyrophosphate (PRPP) to form orotidine-5'-monophosphate (OMP).