A chargeback is initiated by the card holder and can (but doesn't have to) result in a return of funds. It's the bank's duty to determine whether such a request was reasonable.
A refund is a payment operation initiated by the merchant, it refers to a specific card transaction and allows to return the whole or part of the transaction amount.