I am self studying topology and is a bit stuck on the difference between dense and closed sets. Intuitively, a dense set is a set where all elements are close to each other and a closed set is a set having all of its boundary points.
But to make this more concrete, can someone give me an example of a closed set that is not dense and a dense set that is not closed?
Thanks!