Tom Riddle's Diary is a cursed journal and Lord Voldemort's first Horcrux. The official encyclopedia describes it as an empty journal that "looked harmless" until Ginny Weasley began "unwittingly… pouring her soul onto the pages," and the official history of Voldemort's Horcruxes records that he made it while still a Hogwarts student, splitting his soul through the murder of a schoolgirl, Myrtle Warren. The diary let a reader relive the memories of the young Tom Riddle; in Ginny's hands it fed on her and nearly killed her. The old stub credited the diary to "Tom Riddle" through a link to Tom Riddle Sr, Voldemort's Muggle father, who has nothing to do with the diary; its maker is the schoolboy Tom Riddle, the future Lord Voldemort, and that link has been corrected here.
The official history of the Horcruxes fixes the diary's origin. Voldemort made it while he was still at Hogwarts and still known as Tom Riddle, and the murder that split his soul for the first time was that of a schoolgirl, Moaning Myrtle, killed with the help of the Basilisk dwelling in the castle. The diary itself was a plain blank book bought from a Muggle bookshop, which is what made it look so harmless on a shelf. What the Dark wizard hid inside it was a memory of his sixteen-year-old self, strong enough to think and answer back.
The fact file lists the diary's magical property plainly: it "allows a reader to relive memories." Writing in it opened a conversation with the preserved Riddle, and the history of the Horcruxes describes what that cost. When the "young, impressionable" Ginny came across the diary, she met an echo of young Tom Riddle that drew strength from her; the fact file says she was "feeding the spirit of a young Lord Voldemort" until she "succumbed to the dark magic." The same record says the experience nearly killed her.
The diary is the engine of Chamber of Secrets. Under its influence Ginny reopened the Chamber, the episode this site records under Chamber of Secrets Opening, and the story ends with Harry Potter destroying the diary inside the Chamber of Secrets itself, during the confrontation recorded at Final Confrontation. His weapon was a Basilisk fang — the fact file calls fangs "one of the few surefire ways to eliminate a Horcrux," and the Horcrux history calls Basilisk venom "one of the few things powerful enough to destroy a Horcrux." The old stub's suggestion that the fang came from the Sword of Gryffindor is therefore wrong for this destruction: the sword felled other Horcruxes, but the diary was stabbed with a fang taken from the Basilisk itself, an ending the history calls fitting, since the same creature was used for the original murder.
The fact file lists the diary's appearances as Chamber of Secrets, Half-Blood Prince and Deathly Hallows, and ties it to three places: Malfoy Manor, the Gryffindor Common Room where Ginny wrote in it, and the Chamber. How it left Voldemort's hands for Lucius Malfoy's is not told by the sources opened here, and this page does not invent it; the fact file simply lists Lucius as its second owner and Ginny as its third. How Horcruxes are made in general is covered at Horcrux Creation Process.