While an aircraft broadcasts it’s ICAO hex code in ADS-B packets, data such as the aircraft type, military status, make, model, operator, etc. all come from database lookups.
ADS-B Exchange maintains a database from various public and open source services. We also welcome accurate additions and corrections to our database from the community to improve the experience for everyone.