The primary purpose of a cell atlas is to catalog the different types of cells in an organism, along with their gene expression profiles, spatial distributions, and functional states. This facilitates a better understanding of cellular heterogeneity, tissue organization, and the underlying mechanisms of diseases.