What's an important task that game engines do?

Simulate physicsDefine the logic for the entire game

Perfect!

Game engines are very useful for simulating physics.