An ad hoc network is a type of wireless network that does not require a central router or base station. Nodes communicate directly with each other or through intermediate nodes in a multi-hop fashion without any fixed infrastructure. Routing and resource management are distributed. Common types include wireless mesh networks, wireless sensor networks, and hybrid wireless networks. Ad hoc networks face challenges related to medium access, routing, security, and resource constraints due to the lack of centralized control.