What is the use of time-sharing in unix?

Time-sharing is designed so that rapid switching between tasks allows the users to believe they have sole use of a scarce resource (CPU). If there is only 1 CPU present then only 1 task can run at a time.

With rapid switching it occurs so quickly that it appears as though multiple jobs (tasks) are being serviced.