This might be something basic but it confuses me greatly.
I am reading a literature, where they use the probability density function of a Gaussian distribution, that is
$$f(x)=\frac{1}{\sigma\sqrt{2\pi}} e^{ -\frac{(x-\mu)^2}{2\sigma^2} }$$
directly as a probability function - that means,
$$p(x\mid\sigma^2,\mu)=\frac{1}{\sigma\sqrt{2\pi}} e^{ -\frac{(x-\mu)^2}{2\sigma^2} }\;.$$
However, from what I read elsewhere, probability density function cannot be used like that, because it can be bigger than 1.
So I am confused.