For a closed linear subspace, $\mathcal K$, of a Hilbert space $\mathcal H$, it is well known that,
$$(\mathcal K^\bot)^\bot=\mathcal K$$
where "$\bot$" denotes the orthogonal complement of the set in question.
What are some examples of equality failing here when we drop the requirement on $\mathcal K$ to be a closed subspace of $\mathcal H$?
Let $\mathcal{K}$ be dense in $\mathcal{H}$. Then $\mathcal{K}^{\perp}=\left\{0\right\}$, so $$\mathcal{K}\neq \mathcal{H}=(\mathcal{K}^{\perp})^{\perp} $$