Imagine the internet as a huge city full of houses. Each house needs a unique address so that mail and visitors can find it easily. An IP address is like the home address of a computer or device on the internet. Just like your home address tells people where you live, an IP address tells other devices where to send information.
IPv4 addresses are like older-style addresses with four parts, such as "123 Main St, Apt 45, Cityville, State". They are shorter and were enough when the city was smaller. But as the city grew, more houses needed addresses, so IPv6 came along. IPv6 addresses are like very detailed addresses with many more parts, allowing for many more houses to have unique addresses.