@InfraBlue,
Thank your for replying.
I know that 'while' is used as a conjunction but I was very much surprised when the English tutor presented the above sentence as an example of relative pronoun quoting 'while' as a relative pronoun. I stood up and asked him whether the word 'while' is a relative pronoun and he said yes, I was totally puzzled by his response and thought that he was the tutor and there must be something. So, I am trying to clarify my doubts.
Though I am not very proficient in English Grammar, I know sentence structures, a little bit of grammar, so sometimes they (tutors) keep us puzzled when they present a wrong statement for eg. The English teacher who taught us for a few days only, (before the tutor I mentioned in the above paragraph) presented a sentence with the word 'Tantrum', - The baby was throwing tantrum (something like this, I forgot the sentence), he explained the meaning of tantrum as - the baby was throwing things like toys etc. Ironic!