SAX is an event-based API, which means that a SAX parser generates events when making its way through an XML document.
DOM, on the other hand, is a tree-based API, which means that a DOM parser creates a
DOM tree out of the elements it encounters while making its way through an XML document.
I'd recommend looking up articles named "Understanding SAX" and "Understanding DOM" at
IBM developerWorks.