I am studying homology groups of topological spaces. In books I have found that the $n$th homology group counts the number of "$n$-dimensional holes" which exist in that space. If I consider homology groups over the integers, then in the $n$th homology group the number of $\mathbb{Z}$ represents the number of $n$-dimensional holes. I have calculated homology groups for the circle, the sphere, graphs and the torus. I have found that homology groups for these spaces match that concept (intuitive definition of holes). But for the $2$-dimensional projective space over reals the first homology group is cyclic group of order $2$, that is $\mathbb{Z}/2$.
So my question is what mathematically "$n$-dimensional hole" means? My second question is: What can I say about holes if the $n$th homology group is finite? My third question is what does the $0$th homology group signify? I know that for a connected topological space the $0$th homology group over $\mathbb{Z}$ is $\mathbb{Z}$.
Sorry for asking too many questions. But I have not found any answers of these questions. I would really appreciate any help.
The mental image of homology dealing with "$n$-dimensional holes" is better seen by looking at the torsion-free components of the homology groups. In particular, the alternating sum of the ranks of the homology gives the Euler characteristic, which is determined by the holes. For example with $S^2$, $H_i(S^2) \simeq \mathbb{Z}$ iff $i=0,2$ and is trivial otherwise, the ranks give $\chi = 1-0+1=2$. For $\mathbb{R}P^n$ with $n$ even, all groups above degree 0 are either trivial or torsion, so $\chi = 1$, since only degree 0 is included in the calculation.
For any complex $X$, the zeroth degree homology gives the number of connected components of the space. In particular, $H_0(X) \simeq \mathbb{Z}^n$, where $n$ is the number of components of $X$.