EDIT
Cosmology is a part of Astronomy. That is why Cosmology has a close relation to Astrophysics. The Astrophysics considered all kinds of celestial phenomena out of the earth. The cosmology is quasi the science of the origin of the universe (cosmos). The modern cosmology is described by physical laws.