Probably how the top board communicates with the bottom, the dots being conductive pads. These touch conductors in the middle separator and lets the current travel through to the bottom.
The adapter will work with all devices running iOS 10+
You can also use the lightning headphones with any iOS 10+ device as well.
As iOS 10+ only supports the lightning connector they will work with and are backwards compatible with any capable of running it.