if travelling at the speed of light would it take 1 million years to reach the andromeda galaxy
Intergalactic travel While it takes light approximately 2.54 million years to traverse the gulf of space between Earth and, for instance, the Andromeda Galaxy, it would take a much shorter amount of time from the point of view of a traveler at close to the speed of light due to the effects of time dilation; the time experienced by the traveler depending both on velocity (anything less than the speed of light) and distance traveled (length contraction). Intergalactic travel for humans is therefore possible, in theory, from the point of view of the traveller.[15]
Paris Peace Accords
Galaxy In 1922, the Estonian astronomer Ernst Öpik gave a distance determination that supported the theory that the Andromeda Nebula is indeed a distant extra-galactic object.[43] Using the new 100 inch Mt. Wilson telescope, Edwin Hubble was able to resolve the outer parts of some spiral nebulae as collections of individual stars and identified some Cepheid variables, thus allowing him to estimate the distance to the nebulae: they were far too distant to be part of the Milky Way.[44] In 1936 Hubble produced a classification of galactic morphology that is used to this day.[45]
Milky Way The Milky Way contains between 200 and 400 billion stars[61][62] and at least 100 billion planets.[63] The exact figure depends on the number of very-low-mass stars, which are hard to detect, especially at distances of more than 300 ly (90 pc) from the Sun. As a comparison, the neighboring Andromeda Galaxy contains an estimated one trillion (1012) stars.[64] Filling the space between the stars is a disk of gas and dust called the interstellar medium. This disk has at least a comparable extent in radius to the stars,[65] whereas the thickness of the gas layer ranges from hundreds of light years for the colder gas to thousands of light years for warmer gas.[66][67]