Nardole was a companion of the Twelfth Doctor and former employee of River Song. While working for Dr Song on Mendorax Dellora, he was beheaded by the body of King Hydroflax, who used him to obtain information on her whereabouts. (The Husbands of River Song)
Following twenty-four years on Darillium, River went to her death in the Library and the Doctor reassembled Nardole out of fear of being alone. (The Return of Doctor Mysterio)
Nardole first encountered the Doctor when he was told to find the surgeon. The surgeon was required as River Song needed to extract the Halassi Androvar from the head of King Hydroflax. However, Nardole accidentally found the Twelfth Doctor and brought him to Professor Song instead.
When River and the Doctor eventually escaped Hydroflax’s ship with his head in a bag, Hydroflax’s mechanical body turned to Nardole and wanted to extract strategic information. Although Nardole claimed to know very little of River’s plans, there was only one way for Hydroflax’s body to be sure, so it removed Nardole’s head and attached it to its own.
Later holding, whilst a gun to Nardole’s head, Hydroflax’s body forced him to draw in Ramone, whose head the body took while storing Nardole’s within itself.
On the Harmony and Redemption, the body pulled Nardole’s head out of storage to confirm River’s identity before putting it back against his protests.
After the crash of the Harmony and Redemption on Darillium, Hydroflax’s body was recovered from the wreckage. As the hostile onboard computer was destroyed by the Doctor, Nardole and Ramone shared control of the body, working in a restaurant situated before the Singing Towers. When River arrived several years after the crash, Ramone was in control as Nardole was getting some “me time” inside the body, something he admitted was hard when he greeted River from inside Hydroflax’s body. (The Husbands of River Song)
After spending twenty-four years with River Song, the Twelfth Doctor feared being alone, and so returned to Nardole and reassembled him, taking his head from Hydroflax and “gluing” it back on. Nardole became his companion and saw it as his duty to make sure that the Doctor was alright following her death.
Together they investigated Harmony Shoal with the help of “The Ghost”. He also spent some time as the Emperor of Constantinople, recalling his period of rule as being “firm but fair”. (The Return of Doctor Mysterio)
Nardole was loyal and humble. He saw it as his duty to make sure the Doctor was alright following the death of River Song. (The Return of Doctor Mysterio)
He was timid and could show great fear when faced with danger. He was particularly scared of heights. (The Husbands of River Song)
Although he could sometimes appear incompetent, (The Husbands of River Song) he was knowledgeable and, despite not originating from Earth, knew that New York wasn’t a capital city, unlike Washington DC. He was also capable of flying the TARDIS, a talent only previously displayed by River Song, Tasha Lem and Clara Oswald besides the Doctor. (The Return of Doctor Mysterio)