How does AR work?