Figure 2—ZigBee provides network structure, routing, and security, while the more basic physical and MAC layers are provided by IEEE 802.15.4.