A mini-split or ductless heat pump is like a refrigerator. The system pumps refrigerant through the unit using an electric motor. When you want to warm your home, the ductless mini-split absorbs heat from the outside and pumps it into your house. When you want to cool your interior living space, it absorbs heat from inside and pumps it out.
Read all about it at https://nhvac.com/blog/mini-split-heat-pump-benefits.php