Moving The Pivot Point

When you are transforming an object (scaling or rotating it) you will see a bounding box around it, and in the center you will see circle with cross hairs, this is the Pivot Point or Reference Point.

You can click-and-drag the Pivot Point around, so that the object transforms from a different point, instead of the center of the object.

Bounding Box