Your public IP address is sort of like a street address; it's a unique string of numbers assigned by your internet service provider to identify your home internet network. In addition to your home ...
Apple tends to keep most of its convenient features, like AirDrop, locked to its own hardware, but this is also what allows its products to offer some of the best security features in the space.