Euclidean geometry is based on the work of the ancient Greek mathematician Euclid and involves studying geometry on a flat plane using axioms like lines being straight and triangles having 180 degree internal angles. In the 19th century, non-Euclidean geometries emerged which don't follow these axioms, like Riemannian geometry describing a spherical space where triangles have greater than 180 degree angles and hyperbolic geometry describing a saddle-shaped space where lines can be parallel and triangles have less than 180 degree angles.