Why spooling necessary for batch multiprogramming is it needed for time shared operating system?

because of what we believe