What is the meaning of Trainee?

Someone who is still in the process of being formally trained in a workplace.

A juvenile inmate being trained and (re)educated in a reformatory school.

Source: wiktionary.org