What correctly distinguishes qaḍāʾ from kaffārah?

Kitab al-Sawm: Fasting Hours, Invalidators, Qada and Kaffarah