>>12512813dimension of some space is the number of coordinates needed to uniquely specify a point in that space
for example a sphere (surface of the Earth) is 2-dimensional, because each point is determined by the latitude and longitude, i.e. by two numbers. the fact that we think of a sphere as being embedded in a 3D space has nothing to do with it. dimension is intrinsic.