In modern mathematics spaces are defined as sets with some added structure. They are typically topological spaces, in which a concept of neighbourhood is defined, frequently by means of a distance (metric spaces). The elements of a space are often called points, but they can have other names such as vectors in vector spaces and functions in function spaces.