CHARMM uses a combination of quantum mechanical (QM) and molecular mechanical (MM) methods to simulate the behavior of molecular systems. The software employs a force field to calculate the potential energy of a system, which includes terms for bond stretching, angle bending, torsional angles, and non-bonded interactions. By solving the equations of motion, CHARMM can predict the dynamics of molecules over time.