The role of the human resources department

What is the role of the human resources department in the organization?