In a batch reactor, the catalyst, reactants, and sometimes solvents are charged into the reactor. The reaction mixture is then subjected to specific conditions such as temperature, pressure, and mixing for a predetermined period. After the reaction is complete, the mixture is cooled, and the products are separated from the catalyst and any unreacted materials.