This diagram shows the basic structure of temporary work and the legal relationship between the employer, the employee and the third-party employer: