Why XIRR exists
Standard IRR assumes cash flows are evenly spaced. That is fine for tidy annual or monthly models, but many real investments and business projects do not behave that way. Capital calls, milestone payments, partial exits, and uneven collections all create irregular timing.
XIRR solves the same NPV-equals-zero problem as IRR, but it measures the actual day gaps between the cash flows. That makes the result more useful when the spacing is irregular enough that a periodic IRR would hide a meaningful timing difference.