In general the union of chain of ideals of a ring is an ideal. But I did not get the following idea.
Let $I$ be an ideal of an integral domain $R$ and let $J = \bigcup_{A\subseteq I} (A^{-1})^{-1},$ where $A$ is a finitely generated ideal of $R$ contained in $I$, $A^{-1} = \langle{x: x \in K, xA \subseteq R}\rangle $ and $K$ is the quotient field of $R$. Then $J$ is an ideal of $R$.
This appear in closure operation of set of ideals. Thanks in advance.