The spherical harmonics Ylm(θ,ϕ) are the angular portion of the solution to Laplace's equation in spherical coordinates.