Physics of the expanding universe