We use two methods to establish the relationship between galaxies and dark matter halos. One is based the conditional luminosity function model, which links galaxies and dark matter halos by matching the number density and clustering properties of galaxies with those of dark matter halos in the current CDM model. The second is based on galaxy systems identified from large redshift surveys of galaxies. The galaxy – dark halo relationships established by these two methods match well, and can provide important constraints on how galaxies form and evolve in the universe.