Subnetting in IP addressing involves dividing a network into two or more smaller networks called subnets. It increases routing efficiency, prevents IP address wastage, and improves network security. Subnetting is achieved by borrowing bits from the host portion of an IP address, creating a subnetwork ID.