The origin of termites
Termites are very ancient organisms; they have even existed before ants. So, perhaps it can be regarded that ants “adapted” their complex social structure from the termites, and not the other way around. What I notice is that termites back then and today are not much different in terms of morphology, or how they look.
