The distance between two points in a 2D plane is the length of the straight line segment connecting them. This is often called the Euclidean distance. It is derived from the Pythagorean theorem, which states that in a right-angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.