From Joomla! Documentation
Revision as of 10:43, 17 August 2011 by Datapunter
The usergroups as of Joomla 1.6/1.7 are stored in the database as a "Nested Set Model". 
For a better understanding do a search for that term as it is a fairly common model used in a variety of database applications.