Cohesion is the degree to which a software component is focused on its task and its task alone.

We say that a component has low cohesion if it lacks focus. An example of a low cohesion class is a Player class that handles audio, graphics, logic, and even networking. Those concerns should be separated appropriately to make the player class more cohesive.