XIRR (Extended Internal Rate of Return) is a method used to calculate returns on investments where there are multiple transactions taking place in different times.
XIRR calculation is usually used when multiple investments are made at different points in time. Eg: calculation of SIP returns.