A trainee is an official employee of the firm that is being trained to the job they were originally hired for. Literally, a trainee is an employee in training.
A trainee is an employee officially hired by the company who is currently being trained for their initial role. By definition, a trainee is someone learning their duties and responsibilities.