The Alpha Magnetic Spectrometer was designed to detect high-energy cosmic rays in long-term research to learn what happened to the antimatter presumably cooked up in the big bang. It also is looking for clues about the nature of unseen dark matter and the equally mysterious dark energy that is speeding up the expansion of the universe.