Most aircraft today are equipped with ADS-B transponders that transmit positional data. Flightradar24 has a rapidly growing network of over 30,000 ground stations around the world to receive this data that then shows up as aircraft moving on a map in the app.