A rectangle in two dimensions has four vertices, while a rectangle in three dimensions has eight. The number of sides and junction points distinguishes between the two figures.
A vertex is a position in a geometric solid where three or more sides cross, or a point in a plane figure where two sides intersect. A vertex is hence a corner of a rectangle. Another definition of a vertex describes it as the point that is farthest from the base. However, a rectangle can have several bases as opposed to a triangle, which has a single side that serves as the base.