A two dimensional space (eg. $\mathbb{R}^2$ ) could be a flat or it could be the surface of sphere (or of any shape) in a 3-dimensional space. How do we distinguish between such spaces without invoking higher dimensions.(here I am using the term 'space' in a general term and not strictly in a manner used in mathematics notations). What is the subject of math which deals with such properties ? Also please give the mathematical term closer to the term 'space'.
PS: please feel free to edit this post if it could make it more meaningful and clear.