Which are exactly the HR Functions?

Which are exactly the HR functions? What does it really involve? Recruitment, onboarding......