I am trying to understand Maximum likelihood estimation but it looks like I am missing something rather elementary.
suppose we have an iid random sample $X_1, X_2,..., X_n$ for which the probability density function of each $X_i$ is $f(x_i; \theta)$ where $\theta$ is an unknown parameter. Then, the joint probability density function of $X_1, X_2,..., X_n$ is given by:
$f(X_1=x_1,X_2=x_2,\cdots,X_n=x_n)=\prod_{i=1}^{n} f(x_i, \theta)$
In Maximum Likelihood estimation, we try to maximize $f$ as a function of $\theta$.
Question: Why do we maximize probability density instead of probability? In what way does it make sense?
Edit: As explained in the answers, the probability of choosing a finite number of sample points from a continuous probability distribution is zero, so maximizing probability doesn't make sense, but how does maximizing probability density make sense?