I discuss the formation of the modern cosmological paradigm. In more detail I describe the early study of dark matter and cosmic web and the role of Yakov Zeldovich in the formation of the present concepts on these subjects.