For an explanation of how AIS works, please click on the following link:

How does AIS work?