Which sets occur as boundaries of other sets in topological spaces?
Of course the boundary of a set is closed. But is every closed set in a topological space, the boundary of some set in that space?
It is tempting to assert that boundaries have empty interiors, but this is not true, as is shown by the fact that the boundary of $\mathbb{Q}$ in $\mathbb{R}$ is $\mathbb{R}$. In fact it can be seen in general that the boundary of a dense set with empty interior is the whole space. Thus the only boundary in an indiscrete space is the whole set. (This is sort of complementary to the comment of Daniel Fischer below.)
However the intuitive feeling comes right for open sets (and then for closed sets as well): The boundary of an open set cannot contain an open set.
This question concerns all subsets of a topological space.
An alternative question shall be to characterise all topological spaces in which every closed set occurs as a boundary.
Note: I have now asked this on MathOverflow.