Indian army officer Lieutenant General Bakshi addresses a group of soldiers on board the INS Viraat. The story flashes to the events preceding the 1971: India-Pakistan war. Sehmat is a college student from Kashmir. Her father and grandfather were Indian freedom fighters. She learns of her father’s impending death from cancer and his last wish for her to continue the family tradition of being in service to the country. He arranges for her to get married to an officer, the son of an Army Brigadier in the Pakistani Army, who is promoted to Major General. To prepare her to spy, Sehmat is hastily trained by members of RAW, India’s external intelligence agency in various skills.
While being trained at RAW, Sehmat learns the contact numbers to be used in future while contacting any one from Pakistan. She practices to convert text information to morse code, which she has to use while transmitting information to India.
After the marriage and migration to Pakistan, Sehmat quickly settles into her married life, adjusts to a new country, and establishes the trust and confidence of her in-laws. She also falls in love with her husband Iqbal. Shortly, she establishes communication channels with her handlers back in India and starts relaying information. Eventually, she spots information related to the planning of some sort of offensive against India and, at great risk, is able to gather the necessary details and pass them on to her handlers.
It turns out that this information points to a possible attack on the Indian aircraft carrier INS Vikrant, then deployed in the Bay of Bengal. This information provided one of the initial warnings to the threat which had bearing on the sinking of the submarine PNS Ghazi off Visakhapatnam’s coast.
Sehmat is discovered as a spy but manages to escape with the help of her handlers, at the cost of Iqbal’s death. She ultimately returns to India, after which it is discovered that she is pregnant with Iqbal’s child. She says that she will raise the boy alone; the boy, Samar Syed, later joins the Indian Army.
In the concluding scene, an aged Sehmat sits alone at the window of a small house.