Pre-Cooked audience laughter?

Why having an audience can inject spontaneity even in a pre-recorded environment.