Mechanistic and structural analyses of different non-coding RNAs in bacteria