Why does my furnace and air conditioner bang when it comes on or off?

Why does my furnace and air conditioner bang when it comes on or off?

The ductwork is undersized, delivering or receiving less than needed airflow to the blower motor. Sometimes blower speeds can be adjusted which reduces this problem.   Otherwise, the ductwork needs to be calculated and additional ducts may be needed.