Moment of inertia and product of inertia describe how mass is distributed in a rigid body. They help show how the body responds about coordinate axes and planes. For a small mass element, the moment of inertia is found by multiplying the element's mass by the square of the shortest distance to one of the three coordinate axes.
That same idea is extended to the whole body by integration. Adding the contributions of all the small mass elements gives the body's moment of inertia about that axis.