All the three were made by Celebrimbor of Eregion; as he loved Galadriel, he gave her one (Nenya, Ring of Water), while the other two were given to Gil-Galad, the high king of the elves of middle-earth. He passed one (Narya, Ring of Fire) over to Círdan of the Havens because he thought it would be safer than to keep them all together. Short before his death (perhaps in providence), he gave the other one, Vilya Ring of Air, to his herald Elrond. When Gandalf finally came to Middleearth, Círdan saw how strong he was and gave Narya to Gandalf - Saruman, thinking to be the "most important" of the wizards, was always jealous of Gandalf because of that. So, yes, in the end it's Gandalf, Galadriel and Elrond who had the rings.
Originally posted by rianna_d
And you can see them all wearing the rings at the Gray Havens scene😄
The dwarven rings - well, some were devoured by the dwarves, the rest were recovered by Sauron.
The last Ring of the Dwarves was the one from the House of Durin the Deathless; it was in the possession of Thráin II who was caught by Sauron and imprisioned in Dol Guldur (Saurons stronghold in Mirkwood) where he lay for five years always being tortured until he died in TA 2850, even after Sauron already had taken his ring. When Gandalf came to Dol Guldur, Thráin was so confused that he didnt even remember his name anymore; he gave Gandalf a key and a map, then he died.