I have some confusion regarding the two concepts:
Let $(X,\mathscr{O}_X)$ be a scheme, let $f\in \Gamma(\mathscr{O}_X,X)$ and define the support of $f$ to be $$\operatorname{Supp}(f) : = \{p\in X: 0\ne f\in\mathscr{O}_{X,p}\}.$$
But we can also define the non-vanishing set of $f$ as $$NV(f): = \{p\in X: f\not\in \mathfrak{m}_p \text{ the unique maximal ideal of }\mathscr{O}_{X,p}\}.$$
We clearly have $NV(f)\subset \operatorname{Supp}(f)$. Now $NV(f)$ is open and $\operatorname{Supp}(f)$ is closed. How do I understand these two concepts intuitively?
One thing that always confused me is why the support is closed, until I realized that yes if the image of $f$ in $\mathcal{O}_{X,p}$ is 0, then of course it vanishes at $p$, but being 0 in the stalk furthermore means that it's 0 in some open neighborhood of $p$! (recall the definition of stalk). Thus, being 0 in the stalk means it's locally zero, which of course is an open condition.
Nonvanishing I think is much more intuitive and probably doesn't need an explanation. It's just the set of points where $f$ doesn't vanish. If you think of $f$ as a continuous function to say, a field $K$, then the nonvanishing is just the preimage of $K - \{0\}$, which is open, so the nonvanishing is open.