IP addresses have a structure that includes a network prefix and host number. Subnetting splits the host number portion into a subnet number and smaller host number, creating a three-layer IP address hierarchy of network, subnet, and host. This allows organizations to independently manage multiple internal networks while keeping subnet structure invisible externally, improving efficiency of IP address usage and reducing router complexity.