A physics engine is a type of computer program that simulates the way objects move and interact in the real world. It is used in video games, simulations, and other types of computer programs. The physics engine uses the laws of physics such as Gravity, Forces, and Mass to make the objects look and feel realistic. The engine can calculate how objects move when they hit or interact with each other, as well as how gravity affects them. For example, if a character throws a ball it will fly in an arc and then fall to the ground, just like it would in the real world.