Baby Babbling

A baby babbles to himself white he tries to go to sleep. What is babbling and how does it lead to the development of speech? What is variegated babbling and how old are babies when they start that? What stage of speech production comes after babbling?