The Apple EarPods were introduced in 2012 and first shipped with the iPhone 5. They feature a remote control and microphone directly made for Apple devices. They work on Android devices too, but you won’t be able to use the volume buttons on the cable.
Newer versions for the iPhone7 and up have a lightning plug now instead of the headphone jack. They can’t be used on devices without a lightning port like all Android devices.
Edited by opentype