DHCP uses a -message exchange called DORA:
Discover: Client broadcasts "I need an IP address"
Offer: Server responds "Here's an available address"
Request: Client says "I'll take that one"
Acknowledge: Server confirms "It's yours"
This process takes milliseconds. The client starts with no IP address and ends with a complete network configuration. I'll explain each message in detail.