In this memoir, we extend Littlewood-Paley theory, Besov spaces, and Triebel-Lizorkin spaces to the general setting of a space of homogeneous type. We establish a suitable analogue of the Calderón reproducing formula and use it to extend classical results on atomic decomposition…