The correct option is A When I was a child, my parents took me to Jammu to visit my grandmother
Since the sentence describes a phase of life, that is, childhood, "as a child can be replaced by an adverb clause of time, "when I was a child". Hence, Option A is correct. The rest of the options do not adhere to the goal, hence incorrect.