Deadlocks occur when a set of processes are blocked, each waiting for resources held by another, leading to a situation where none can execute. To address deadlocks, methods include prevention, avoidance, detection and recovery, or allowing deadlocks to occur (deadlock ignorance). The document outlines necessary conditions for deadlocks, recovery strategies, differences between resource and communication deadlocks, and the role of concurrency control mechanisms in managing shared resources.