Discrete Distributions. For a discrete distribution, such as the binomial a PDF (probability distribution function) or PMF (poin mass function) is essentially a list of probabilities, one for each possible value of the random variable. So, if $X \sim Binom(n=3,p = .4)$, we can give a table such as the one below for R statistical software.
In particular, $P(X = 2) = 0.288.$
x = 0:3; pdf = dbinom(x, 3, .4)
cbind(x, pdf)
x pdf
## 0 0.216
## 1 0.432
## 2 0.288
## 3 0.064
For a discrete distribution that takes countably many values, such as
a Poisson distribution $Y \sim Pois(2),$ one can make only a partial list,
including the most important values. In the table below, probabilities not shown are $0$ to four places. One might also give a formula
such as $P(X = k) = e^{-2}\frac{2^k}{k!},$ for $k = 0, 1, 2, \dots .$
y = 0:10; pdf = round(dpois(y, 2),3)
cbind(y, pdf)
## y pdf
## 0 0.135
## 1 0.271
## 2 0.271
## 3 0.180
## 4 0.090
## 5 0.036
## 6 0.012
## 7 0.003
## 8 0.001
## 9 0.000
## 10 0.000
One can also make 'bar charts' of such distributions to show which
discrete values have how much probability.

Continuous Distributions. Continuous distributions have probabilities
defined for intervals, not discrete points. If $f_W(x) \ge 0$ is the PDF (probability density function) of a continuous random variable $W,$ then we define
$$P(a < W \le b) = \int_a^b f_W(x)\,dx.$$
So that the total probability is 1, it is understood that
$\int_{-\infty}^\infty f_W(x)\,dx = 1.$
One way to view the density function $f(x)$ is to consider it as a 'smoothed
histogram' of observations $W$ that might result when a random sample
is taken from a population.
Specifically, suppose that $W \sim Norm(\mu=100, \sigma=15).$
Perhaps these are scores $W$ on a standardized college admissions test.
Here is a histogram (tan bars) of a sample of size $n = 1000$ from this distribution. Superimposed on the histogram is the PDF (blue curve) of $NORM(100,15).$

Even with a sample as large as a thousand, the fit of the data to the
histogram is not perfect, but it is good enough for an illustration.
Notice that this is a special kind of histogram called a density histogram.
It is scaled so that the total area of all the bars is 1. This matches
the total area under the PDF.
Area under the curve in $(100,110].$ According to the PDF curve, the probability $P(100 < W \le 110)$ of a score between 100 and 110 is the area under the curve between the two vertical
red lines. It is 0.2475.
diff(pnorm(c(100,110),100,15))
## 0.2475075
Nearly matching area of the histogram bar for $(100,110].$
Out of the 1000 test scores, the number in this interval was 260.
The height of the corresponding histogram bar is 0.026 on the density
scale; this bar has an area (width times height) of $10(0.026) = 0.260.$
This roughly matches the corresponding area 0.2475 under the density curve.
The match is not exact because a sample of size 1000 does not perfectly
represent the population. The histogram of a larger sample would tend
to have better matches. (Even in the current histogram, I could have
gotten a better match using the interval $(90,100].$)