Overview
From Box2D Wiki
Box2D represents the entire physical system with a world object. This handles global aspects, like the broadphase, and stepping through the simulation. Each project will typically require one world.
A world will contain many bodies. A body is the basic element of a Rigid Body system. A body contains information on its position, motion and mass. Bodies come in different varieties: static, dynamic, and whether it is a sensor or not.
Each body contains several shapes. The shape objects define the geometry of the body, and are used to determine when two bodies have collided with each other. They also contain properties of the material of the body, specifically its density, friction and restitution. Box2d has only has two sorts of shapes; circles and polygons. By adding several shapes to a body, more complicated objects can be described.
For example, a dumbbell body could reasonably be made of 3 shapes: Two circles to form the weights, and one box (rectangular b2PolygonShape) to form the bar.
Box2D handles the interactions between different bodies. All you need do is create a world, fill it with your bodies and shapes, and implement the simulation loop.
