An ATM is an Automatic Teller Machine. You put your keycard or credit card into it to deposit or withdraw money.
Bis forBill (financial)
You borrow something when you take it from someone else with their permission and return it to them when you have finished with it.
People often borrow books from a library.
A cheque, also spelt check in some countries, is a special piece of paper that represents an amount of money. It has information on it saying which bank account the money comes from, who owns the account and how much money it represents.