My question is if $25 = a^2$ then the value of $a$ will be?
We always do it as if $$ 25 = a^2 \implies \sqrt{25}= \sqrt{a^2} \implies \pm 5 = a. $$ However why don't we do it as $$ 25 = a^2 \implies \sqrt{25}=\sqrt{a^2} \implies \pm 5 = \pm a $$ Because $(+a )\times( +a) = a^2$ and also $(-a) \times( -a )= a^2$?
Hint: write your equation as $$(5-a)(5+a)=0$$