What is the difference between a loan and a credit?

Even if the two terms “credit” and “loan” are used…