A conditional conveyance of property as security for the payment of a debt or the fulfillment of some obligation. Upon payment of the debt or performance of the obligation, a mortgage automatically becomes void.