Why is the consideration of a larger imagined audience so important when writing, if in reality it is likely that your professor may be the only person reading this essay?

Why is the consideration of a larger imagined audience so important when writing, if in reality it is likely that your professor may be the only person reading this essay? Why is it not enough for us
to simply state our opinions and be done with it?