This is part of “Dynamic Array” functionality.
In the example shown, the formula in D5 is:
The SORT function returns 10 sorted results.
The range of results returned by a formula that spills is called aspill range.
When something on the worksheet blocks a spilled array formulas, it will return a #SPILL!