$T$-groups and their geometry