In mathematics, especially in geometry and topology, an ambient space is the space surrounding a mathematical object. For example, a line may be studied in isolation, or it may be studied as an object in two-dimensional space — in which case the ambient space is the plane, or as an object in three-dimensional space — in which case the ambient space is three-dimensional. To see why this makes a difference, consider the statement "Lines that never meet are necessarily parallel."