NGC6334 is a very active star forming region with a remarkably large number of H II regions spread across the complex (7 compact and optical H II regions per square degree), most of them with a bubble morphology in the IR and FIR. The associated molecular cloud consists of a ~10 pc long filament, called a massive ridge, that is also associated with strong extinction. The optical H II regions are excited by a few stars, the ionization of the radio H II regions, NGC 6334I and NGC 6334E, is due to a rich embedded young cluster and a cluster of B-stars, respectively. The gas dynamics in NGC6334 is dominated by the large number of H II regions, in particular the dense major filament of the NGC6334 molecular clous is proposed to be affected by the expansion of the two big H II region bubbles to the north and south. Structure analysis studies (Delta-variance) identified characteristic scales that can be caused by the injection of energy due to expanding H II regions.