The key difference between alimony vs. child support is the intended use of each payment.
Alimony is paid for the benefit of a spouse; child support is paid for the benefit of any children resulting from the marriage.
Child support is designed to be used to meet the basics needs of the child. That includes things like food, clothing, medical care, housing, and other necessities.(The Balance).