Mass commonly refers to any of three properties of matter, which have been shown experimenatally to be equivalent: Inertial Mass, Active gravitational mass and Passive gravitational mass. In everyday usage, mass is often taken to mean Weight, but in scientific use, they refer to different properties.
The vis insita, or innate force of matter is a power of resisting, by which every body, as much as in it lies, endeavors to preserve in its present state, whether it be of rest, or of moving uniformly forward in a straight line.
In common usage, however, people may also use the term "inertia" to refer to an object's "amount of resistance to change in Velocity" (which is quantified by its mass), or sometimes to its momentum, depending on the context (e.g. "this object has a lot of inertia"). The term "inertia" is more properly understood as shorthand for "the principle of inertia" as described by Newton in his First Law of Motion. This law, expressed simply, says that an object that is not subject to any net external force moves at a constant velocity. In even simpler terms, inertia means that an object will always continue moving at its current speed and in its current direction until some force causes its speed or direction to change. This would include an object that is not in motion (velocity = zero), which will remain at rest until some force causes it to move.
On the shoulders of giants
An accelerometer is a device that measures the acceleration of an object. This simple type of accelerometer uses the principal of inertia (Newton's first law) to work. To understand how it works understand that there are two objects with inertia in the glass, the water and the ping pong ball, which has a greater inertia?