Deadlock is the situation in which two processes are each waiting for the other in order to complete the present process before going to the other one. The result is that both the processes are hanging. The situation of Deadlock generally occurred in