Yardi Systems Interview Question

Tell me the difference between credits and debits in a general ledger?