If you look your PC's IP address you can see 4 parts of numbers separated by dots, something like 124.187.1.3 and those each numbers separate by the dots is of 8 bits. Each group of 8 bits is called an octet. So an IPv4 address has 4 octets and IPv6 has 16 octets. Learn more about IPv4 address ---> IPv4 Tutorial.