When you deposit money into a savings account, you’re lending that money to the bank. Banks use your money to fund other projects, and they usually pay you interest in return!
Your balance grows because the interest is compounded regularly—usually monthly or annually. That means both your principal and any interest you accrue earn interest that cycle. Cha-ching!