debits and credits are entries made in account ledgers to record changes in value resulting from business transactions. 
i think thats wrong actually debit is wen u receive money or any transaction that includes getting in of money or any asset is debited while any transaction that includes p aying off of money to a supplier is creditied
anything that comes in is debit and anything that goes out of the business is credit