Today many states have statutorily defined the purpose of alimony—for instance, as a temporary arrangement allowing the dependent spouse to get on his or her feet financially; as compensation for money invested in a marriage (like paying for a spouse's medical school); or as punishment in an at-fault divorce.