In the last years, HR departments have been transformed.

First of all, they just hired and fired employees. A few years later they started being more productive and later they implemented different strategies.
In the future, HR Departments are going to maximize the talent; use Data Analytics; develop man-machine collaboration; analyze Organizational Networks and become transparent.
If you want to read more you can do it in https://blog.cake.hr/hr-evolution-transformation-story-companies-developing-hr-department-of-tomorrow/