For example, the set of rational numbers Q is dense in the set of real numbers R because Q is contained in R and any element in R can find a rational number to make their distance small enough (if the given element is rational, obviously if the given element is irrational, any irrational number can be approximated by rational number).
Please forgive my mistakes or carelessness in typing (I'm not good at math)