It allows iPhones with a Lightning port (such as the iPhone 7 through iPhone 14) to use two functions at the same time.
What it is used for:
Listen to music with wired Lightning earphones while charging the phone.
Charge the iPhone and use compatible Lightning earphones simultaneously.
Make calls while charging (if the splitter supports microphone and calling, as indicated on the packaging)