Urinalysis in patients receiving alkylating agents

Why are ketones present in urinalysis results when patients are receiving ifosfamide or cyclophosphamide?