At the level of precalculus, there's a certain derivation of the equation of an ellipse that follows the same path. See this for example.
Inevitably at one point in the derivation there's this substitution, with no explanation given:
$b^2 = a^2 - c^2$
where $a$ is the length of a major axis, $b$ is the length of a minor axis, and $c$ is the length from center to focus.
How is that equation possible? It doesn't seem to make sense from just looking at the ellipse.
Take a vertex of the ellipse on the $y$ axis. For this point the distance from the origin of the axis is $b$, the distance from a focus is $a$ (by simmetry and noting, using the vertex on the $x$ axis, that the sum of the distances of a point from the two foci is $2a$) and the distance of the focus from the origin is $c$, and $b$ , $c$ are sides of a right-angled triangle with hypotenuse $a$.
You can see this image from here.