Commercial air source heat pumps work by transferring heat between the indoor and outdoor environments. They extract heat from the outside air in heating mode, and transfer it indoors. In cooling mode, they reverse the process, removing heat from the indoor air and releasing it outside.