From Sonic Retro
Not an independent entity in her own right, the Queen is a kind of emergent, hive-mind intelligence for the entire N'rrgal species. In the same way that N'rrgal worker drones can combine together to form resilient N'rrgal warriors, enough of them fusing into one being allows them to manifest the Queen, a highly intelligent overmind who can utilise the knowledge of all her constituent drones.
During Chapter 8 of Sonic Chronicles, the N'rrgal Queen compels Sonic and his friends to travel to the Zoah Colony world and sabotage the Zoah superweapon. She later appears at the Twilight Conference on the Kron Colony, and agrees to assist in the assault on the Nocturne.