Comparative insights into complex adaptive systems: from cells to societies