The Time Stone was an incredibly powerful and ancient stone capable of manipulating time. An Infinity Stone, various individuals and organizations have possessed it, including Agamotto, the Ancient One, Doctor Strange, and Thanos.
The first known person to possess the Mind Stone was the sorcerer Agamotto, who placed the Time Stone inside of the Eye of Agamotto. The Time Stone remained inside of the Eye of Agamotto until Doctor Strange willingly gave the Time Stone away to Thanos during the Infinity War. The Time Stone was ultimately destroyed by Thanos in the wake of the Snap.