Show that if $A$ and $B$ are subsets of a set $S$, then $\overline{A \cap B}=\overline{A}\cup \overline{B}$.
I tried to prove that $A \cap B=A \cup B$ because I didn't realize that the overline meant to prove it for the closure of the sets.
So, now I am confused about how to prove for closure. I cannot find it in my textbook, and by some "similar" proofs online led me to conclude that $\overline{A \cap B}=\overline{A \cup B}$ but I somehow don't know if this is true, or how to prove it exactly. So, now I am not sure if I understand this principle at all.