The resistance of a fluid (liquid or gas) to a change in shape, or movement of neighboring portions relative to one another. Viscosity denotes opposition to flow. The reciprocal of the viscosity is called the fluidity, a measure of the ease of flow. Molasses, for example, has a greater viscosity than water.