For a continuous probability distribution, probability is an area,
$P(a \le X \le b) = \int_a^b p(x)dx$ It follows that
$P(X=a) = \int_a^a p(x)dx = 0$ because the area under a point is $0$.
That's not to say that $P(X=a)$ has to be $0$. For example If you have a random variable defined on the interval $[0,1]$ you could define
$P[X=0] = P[X = 1] = \dfrac 13$ and, on $(0,1)$, $P[a\le X \le b] = \dfrac{b-a}3$
Note that $\displaystyle P[0 \le x \le 1] =
P[X=0] + \lim_{\delta \to 0^+} P[\delta \le X \le 1-\delta] + P[X=1] = 1$$
But, if you wanted, say $P[X=x] = \alpha$ for all x in $[0,1]$ then you would have to figure out how to solve
$$\displaystyle P[0\le x \le 1] = \sum_{x\in[0,1]}\alpha = 1 $$ for $\alpha$.
This sort of thinking has some unintuitive, but necessary, consequences. for example. Pick a point, x, on the real number line at random. Then
the probability that $x$ is a rational number is $0$ while the probability that $x$ is an irrational number is $1$.