Both loan and credit mean the sum that one receives from a bank or other credit institution to be used temporarily.
Loan is a general term used for the money provided by the lender to the borrower, and the borrower agrees to repay the loan increased by interests and other fees . Apart from this, it is also used for complex credit transactions, sometimes referred to as loan facility.
Credit is a complex transaction in which the creditor makes available money within a certain limit, within which the debtor may draw down amounts according to needs changing from time to time.