The bank earns profit in various ways
Banking value chain
Accepting deposit
Providing funds to borrowers on interest
Interest spread
Additional charges on services like checking account maintenance, online bill payment, ATM transaction