It is an agreement where a person could pay for the output of mining without owning the mining device. In other words, it is renting (or investing) in mining, while the mining decives are placed in a remote data centers.
Decentralized Finance (DeFi) refers to the movement of building decentralized financial applications that have no central authority and is censorship free.