A game engine is the software framework used to create video games, providing tools for rendering graphics, physics simulations, and more. It serves as the foundation for both 2D and 3D game development.