Everything from investigating and resolving complaints, to preventing workplace discrimination.