Scientists built a tiny chip that uses beams of light to gently move very small particles along curved paths and then reverse the journey.