Can someone explain to me how one pulls money out of the investments equity by creating debts/making loans?

Can someone explain to me how one "pulls money out of the equity" by creating debts/making loans? I don't understand this. All I get from this is that it's effectively avoiding paying capital gain taxes.

Can someone explain to me how one pulls money out of the investments equity by creating debts/making loans?
Post Opinion