The authors study the (micro)hypoanalyticity and the Gevrey hypoellipticity of sums of squares of vector fields in terms of the Poisson-Treves stratification. The FBI transform is used. They prove hypoanalyticity for several classes of sums of squares and show that their method, though not general, includes almost every known hypoanalyticity result. Examples are discussed.