Sophia Grimes (Comic Series)

Sophia Peletier is a young blonde girl who survived with her mother Carol and met Rick at camp outside Atlanta early on the comic series.

Pre-Apocalypse
All that is known about Sophia's life before the zombie apocalypse, is that she was the daughter of Ed and Carol Peletier.

Atlanta Camp
After her father committed suicide, Sophia was taken by Carol to see her aunt in Atlanta. The two could not make it into the city, so they stayed at Dale Horvath's camp that he and Andrea and Amy had set up. Also at the camp were a man named Glenn, and a family of four with twin sons that were Sophia's age. Sophia spent most of her time at the camp playing the twin boys Ben and Billy until a woman named Lori Grimes showed up at camp with her son, and a family friend.

The Prison
Sophia and her mother were among the survivors that moved into the Prison. That time period was particularly difficult for Carol, who saw her relationship with Tyreese disintegrate due to the interference of Michonne. Sophia did not receive a lot of support or attention from her mother at that time and eventually had to deal with the terrible trauma of her suicide. She apparently entered into deep denial since, and seems to have convinced herself that Glenn and Maggie are the only parents she ever had, probably to avoid facing the violent loss of both previous parents.

Alexandria Safe-Zone
Along with Carl, Sophia is one of the two remaining children of the group to reach the Alexandria Safe-Zone. She appears to adapt well, as she eagerly participated in a Halloween event for the kids and enjoyed some candy for the first time. She has even taken to calling Glenn her father, though its unknown if she's repressed her memories of her true father or she truly is bonding with him.

When a horde of zombies break into the Safety Zone, Maggie and Sophia stay behind in Rick's house, as the group attempts to make an escape. Mainly because both Maggie and Sophia are slow runners and would never make it. Maggie, wanting to protect Sophia, chooses to stay behind. Oddly enough, with the thanks of Rick and Michonne, inspiring the citzens to fight back, the zombies are killed off. Its not known if she knows about Carl being shot or if he'll survive, or if it'll affect their friendship.

Carl Grimes
Being his childhood "girlfriend", Carl and Sophia seem to get along pretty well. They are often seen kissing and holding hands, and pretty much together having fun. Carl usually protects her from zombies.

Carol Peletier
Carol was her previous and biological mother. After she committed suicide, like her father, Ed, Sophia didn't talk for months. Nowadays, Sophia adopts Maggie Greene as her mother.

Maggie Greene
Maggie adopted Sophia (or she sees her as her mother) after they and other else escaped from the Prison.

Glenn
Since Glenn is married to Maggie Greene, Sophia sees Glenn as her father. Their relationship hasn't been shown to be as strong as Sophia's and Maggie's, but even so Sophia sees him as a father.

Trivia

 * In the comic, it was never directly stated how Ed died, Carol merely states that, "He watched his parents die right after everything started to happen. He couldn't deal with it... he just sort of gave up on life... he... y'know." In the TV series, her father Ed was alive and living with the survivors before being killed in a zombie attack.