A line of credit is a flexible loan that allows you to borrow up to a set limit and only pay interest on the amount you've borrowed. A personal loan, on the other hand, requires you to borrow a fixed amount of money and repay it over a set period with interest.