Both heat pump and central air are used to cool your rooms and release the warm air outside. However, we would always advise you to take professional help in this regard.
A professional will know what might be ideal for you and your home.