I just studied the rep theory of $SU(2)$ (now I know its the double cover of $SO(3)$ so I guess their reps are highly similar) and I also know spherical harmonics (I will use SH for short) are the complete basis of function $S^2\rightarrow C$.
There indeed exists some materials on this topic, but most are out of purely algebraic approach. So I can't grasp the logic and intuition behind this fact.
$SO(3)$ is the group used to describe the 3D rotation, which I can almost definitely claim that, the domain of definition of SH is "$S^2$", is not a coincidence. Intuitively I guess if $G$ is a group and can act on some space $M$, then the action can somehow induce a rep of $G$ whose rep space is $M$, then the rep on $M$ can somehow form a basis of the space of function $M \rightarrow C$.
I don't know how to make my statement formally. I wonder whether the previous description can be constructed systematically, or just some confusing hugwash.