(Take a point P at one end of the major axis. Sum of the distances of the point P to the foci is F1P+F2P=F1O+OP+F2P( since, F1P=F1O+OP)
Take a point Q at one end of the minor axis.
Sum of the distances from the point Q to the foci is F1Q+F2Q=b2+c2+b2+c2=2b2+c2
Since, both P and Q lie on the ellipse.
By the definition of ellipse, we have 2b2+c2=2a, i.e., a=b2+c2
or a2=b2+c2, i.e., c=a2−b2