DeadLock ⇒ If two or more processes are waiting on happening of some event, which never happens, then we say these processes are involved in deadlock then that state is DeadLock.
or

IT is the most efficient and convenient way to represent the state of the system,i.e , how to the resources are allocated , is there any deadlock.
It has 2 components:
DeadLock occurs
No DeadLock
Note:
Multi Instance Resources
MI(multi Instance) and CW(circular wait) , but no DeadLock

n processes
are there and m resources
are there, then:
free
execution:
n-1
.n+1
.DeadLock ignorance (Ostrich Method) Used in Real Life
DeadLock prevention
Mutual exclusion. ⇒ false by making the resources shareable among the processes.
No premeption. ⇒ false by making prempting processes by using Time Quantum.
Hold and wait. ⇒ false by giving all the resources to the process before it started exceution, so it doesn’t hold and wait.
Ciruclar wait. ⇒ false by giving resources a number and processes can request for resources in increasing order.
DeadLock Avoidance (by Banker’s Algorithm)
DeadLock Detection and Recovery