Luna attended Hogwarts School of Witchcraft and Wizardry from 1992 to 1999 and was sorted into Ravenclaw house. In her fourth year, Luna joined Dumbledore's Army, an organisation taught and led by Harry Potter, of which she became an important member. She co-led the reconstituted Dumbledore's Army when Hogwarts fell under the control of Lord Voldemort. Because of her father's political dissidence at the time, Luna was abducted by Death Eaters to be held ransom, and imprisoned in the dungeons of Malfoy Manor for months. She was freed by Dobby along with several other prisoners in the spring of 1998, and stayed at Shell Cottage until she returned to Hogwarts to participate in thefinal battle of the Second Wizarding War.
Luna was born alongside a twin sister who she never knew about. Her mother, Mistral Malfoy faked her death while Luna was only an infant, taking Luna's twin with her. Her sister died in 1993, killed by a mental illness. Luna never met or knew about her, even though they went to school together in the same house for a year.
Please note that all information on this character is accurate and has many sources. Thanks you.