When the two accounts involved in a transactions are cash account and bank account, then both the aspects are entered in cash book itself. As both the debit and credit aspect of a transaction are recorded in the cash book, such entries are called contra entries.
Example: When cash is paid into bank, it is recorded in the bank column on the debit side and in the cash column on the credit side of the cash book