Similarly, the set of rational numbers is also dense-in-itself but not closed in the space of real numbers.
Similarly, the set of rational numbers is also self-contained but not closed in the space of real numbers.