Astronomers have uncovered 27 potential planets that orbit two stars, resembling the iconic Star Wars world.