The android device ID is a unique alphanumeric code generated for your Android phone when you first set it up. This code basically identifies your device similar to how the IMEI number works. However, Android device ID is specifically used for identification purposes, instead of tracking your device.
What is Android ID used for?
Android ID is an unique ID to each device. It is used to identify your device for market downloads, specific gaming applications that needs to identify your device (so that they know it’s a device that was used to pay for the application) and such.
What is device ID used for?
A Mobile Device ID is a unique customer identifier used to distinguish a mobile device. It could be an IDFA (Identifier for Advertisers) or an Android Ad Id.