The acquisition of knowledge, skills and behaviors that are necessary for functioning in a eusocial society.