A dimension is a measurable quantity or extent.
An example - a database of people:
Age
IQ
Friendliness
Height
Weight
These are 5 dimensions of a person. This example demonstrates that, although dimensions are generally independent of each other, they can also be dependent to a degree, like Height and Weight. Usually people think of dimensions as spatial dimensions, but in the example above, only height is a spatial dimension, the others are not spatial dimensions.
Another example - a real estate listing of houses:
Square feet living space
Price
Number of bedrooms
Number of bathrooms
Number of floors (storeys)
Age
In this example, the houses are measured in 6 dimensions.
In cosmology and astronomy, dimensions are usually spatial; either 3 spatial dimensions, or 4 spatial dimensions, or in the case of string theory, 11 spatial dimensions. Time is a non-spatial dimension.