Object Mode and Edit Mode
In Object Mode¶
The origin of an object is shown in the 3D Viewport by a small orange circle. It tells Blender the relative position of that object in 3D space.
The origin does not have to be located in the center of the geometry (e.g. mesh). This means that an object can have its origin located on one end of the mesh or even completely outside the mesh.
For example, the orange rectangle in the image above has its origin located on the far left of the mesh, while the blue rectangle has its origin located in the center of the mesh.
When the Pivot Point is set to Individual Origins, the origin of each object remains in place while the object rotates or scales around it.
In Edit Mode¶
When you rotate or scale the touching faces/edges, they are treated as a single element, and keep the shape of the group. Each group is transformed independently around its median point.