The "Ishaqzaade" star met them in Jaisalmer, Rajasthan, for a TV show and she tweeted: "What an honour to spend time with the jawans."
"Living in the desert and braving the heat, they live a gruelling life away from their families just to keep all of us secure."
"It's been a life enriching experience for me and my team, we never realise the difficulties faced by the Indian army to keep us safe," she posted on Twitter Tuesday.
On the movie front, the actress will be next seen with Ranveer Singh in "Kill Dil".