In 2012, journalist Martin Seymour travels to Iran to cover the parliamentary elections. With most would be candidates disqualified this turns out to be the expected non event, but shortly afterward a compromising image of a government official captured on a mobile phone triggers a political avalanche. Nasim Golestani, a young Iranian scientist living in exile in the United States, is hoping to work on the Human Connectome Project which aims to construct a detailed map of the wiring of the human brain but when government funding for the project is cancelled and a chance comes to return to her homeland, she chooses to head back to Iran. Fifteen years later, Martin is living in Iran with his wife and young son, while Nasim is in charge of the virtual world known as Zendegi, used by millions of people for entertainment and business. When Zendegi comes under threat from powerful competitors, Nasim draws on her old skills, and data from the now completed Human Connectome Project, to embark on a program to create more life like virtual characters and give the company an unbeatable edge. As controversy grows over the nature and rights of these software characters, tragedy strikes Martin's family. Martin turns to Nasim, seeking a solution that no one else can offer ... but Zendegi is about to become a battlefield.