You asked many questions, here is are a few things related to some of them:
(1) What does $H^i(X,\mathcal O_X)$ mean?
In the examples you quoted it already shows that it depends a lot on $X$ what these groups mean.
(a1) if $X$ is smooth and projective, then there is the Hodge decomposition, which I am sure is something every topologists appreciate. It tells you that the singular cohomology groups $H^m(X,\mathbb C)$ may be decomposed as the direct sum of the Dolbeault cohmology groups $H^{p,q}(X)$ for $p+q=m$. One of these is isomorphic to $H^m(X,\mathcal O_X)$, so one possible answer to your question is that these cohomology groups give you a piece of the singular cohomology. A particular interesting case is $m=1$. Then $b_1=h^{0,1}+h^{1,0}=2\cdot h^{0,1}$. So, the vanishing or non-vanishing of $H^1(X,\mathcal O_X)$ is equivalent to the same for $H^1(X,\mathbb C)$.
(a2) still in the projective case, there is a duality, called Serre duality, between cohomology groups of $\mathcal O_X$ and those of $\omega_X$, the sheaf of top differential forms (i.e., the determinant of the cotangent bundle). So, $\dim H^i(X,\mathcal O_X)=\dim H^{n-i}(X,\omega_X)$ where $n=\dim X$.
(b) If $X$ is the complement of a closed subset in an affine variety, then higher cohomology of any coherent sheaf is isomorphic to a shifted local cohomology (with supports in the complement). In other words, $H^i(X,\mathcal O_X)\simeq H^{i+1}_Z(\bar X, \mathcal O_{\bar X})$ for $i>0$ where $X=\bar X\setminus Z$. Local cohomology tends to be big (if not zero), and that's the reason for that example you mention.
Of course, now you can ask what local cohomology means, but I'll leave that for another answer/question.
(2) Replacing regular with analytic functions.
Quotients of analytic functions are analytic on their domains of definitions, so while you could define regular analytic functions as those that are locally quotients of analytic functions, you would not actually change the category. The point is that in AG, polynomials are the functions that we can originally define, but it makes sense that as long as the inverse of a function exists, then we should be able to use that inverse as a regular function. However, those are no longer polynomials, so we need this sort of extended definition.

