I'm learning about topos theory and its many uses in (intuitionistic) logic. The definition of an elementary topos $\mathbf{C}$ requires the category to have exponentiation, that is, given $\mathbf{C}$-objects $A$ and $B$, there exists another $\mathbf{C}$-object $B^A$ which is "the object of all $A\to B$ morphisms".
Now, when developing the propositional logic, the valuations, the meet/join/negation/implication operations in the algebra of subobjects I haven't seen the exponential construction at all.
I'm wondering why is it crucial that a categroy has exponential objects (or power objects) in order to "do" strong enough internal logic, or similar enough to the $\mathbf{Set}$ topos internal logic.
What construction, rule of inference, quantification, formula or whatever, needs exponentiation/power objects?