Concurrency is the ability of different parts or units of a Application, algorithm, or problem to be executed out-of-order or in partial order, without affecting the final outcome.
Concurrency may be used via a Message Passing Interface using a
time slicing is when thread switches are performed which makes it appear like multiple processes are being executed simultaneously on the same CPU.