Astonomy and cosmology