What is cosmic microwave background and what is its connection with our expanding universe?
It is a result of the red-shifting of light from distant objects, because of the expansion of the Universe. You can read about the red shift in the first part of this answer: Ilavenil Surya Thirumavalavan's answer to How scientists measure the age of light coming from stars? After the Big Bang, there were various stages in which the Universe expanded and cooled. First the elementary particles formed (quarks, electrons, etc.) and then came the subatomic particles (protons and neutrons.) This was very chaotic, as particle-antiparticle pairs annihilated continuously. The light that was emitted would traverse a very short distance before it hit another particle, and would scatter. At a certain stage in the very early Universe (377000 years later, but we’re talking about something that happened 13.6 billion years ago) the temperature of the Universe dropped enough for protons and electrons to form the first hydrogen atoms (shown as the Era of atoms in the above di...