Here is a comprehensive article on the two types of accounting:
http://biztaxlaw.about.com/od/accoun...hvsaccrual.htm
Normally, I would try to explain myself, me being an accounting student, but ironically I am in class and quite pressed for time. Hope that helps.