Concurrency in easy way - part 1
Computer science graduate.

In the above picture, the joker performing the art by balancing the all balls one by one, and in the following way, if he hold ball for a sec, then immediately he will throw the ball up and caught another ball.
Joker continuously holding the different ball and leaving it in one rotation.
Here, the way joker holding different balls but not at once in a hand is called concurrency.
Just like joker hand, the CPU core perform different tasks in concurrent way.
Now, let come to formal defination:
Concurrency refers to the ability of a system to execute multiple tasks through simultaneous execution or time-sharing (context switching), sharing resources and managing interactions.[1]
If it is confusing, I will example with another example.
Let consider watching cricket match in TV, for simplicity, consider video task and audio task is processing by single CPU core. Here the two tasks are not run parallel by CPU but one by one which is called concurrency.
But you will get a dout that, then in TV, both tasks are appearing simultaneously 🤔?
It is because the CPU single core run a part of task fast, so that the change is not noticed.
References
