For $f=\mathrm{id}$, the set is indexing itself and the indexed union is just the arbitrary union $\bigcup_{i\in I} X_i = \bigcup X$.
Arbitrary union
Image