Saturn Infotech Interview Question

why is a local variable used?