What an ASN is
An Autonomous System Number identifies a network that is managed under one routing policy on the internet. ISPs, cloud providers, universities and large companies each hold one or more. Networks use BGP to announce which IP ranges they carry and to exchange routes with each other. Looking up the ASN for an IP tells you which organization announces that address block, which is often more useful for investigation than a city.