They have morphologically distinct workers and queens. In some ants, the workers do not even have ovaries. Other workers can lay male eggs. Many bees are not social at all. Some wasps are eusocial, but many are not.
All termites are social.
They have male and female workers and, unlike most social insects. are diploid rather than haplodiploid. Often they have a king and a queen. Some aphids and thripes are are eusocial. When they form a gall, some soldiers will not reproduce. This form of eusociality tends to be restricted to a few soldiers, because the sterile forms only defend and do not care for the young.