The setting is important in several ways. First and most simply, the book is set in the future. Second, it is on a transformed Earth. Every detail in the setting shows readers how greatly the aliens have changed the planet.
This means that each detail of the setting is like a clue in a crime. This is especially true when the boys find the remains of earlier times, as when they go to Paris.