Moment of inertia of an object is defined with respect to an axis.
Suppose we imagine the object to consist of many small elements of mass δm with the center of mass at a distance r from the axis.
Moment of inertia is the sum aggregate of products = Σ δm * r²
In constructing bridges, for example, the shape or structure having maximum moment of inertia / volume is chosen for stability reasons. For shapes in a constantly moving components (like a wheel), we choose shape with least moment of inertia.