Its just like using a portable radio. Its pulling the radio over the air with your headphones as an antenna.
Which means there is a tiny FM tuner inside these things.
Pretty cool to listen to the radio and saving data by not using an internet radio app.