Ajax

Would like a better explanation of how ajax works within a rails app. Diagrams? Flow of code? How is data passed back and forth? Data in what format?