Hi @manojndsu,
That’s a very very big question! It all depends on how you want to compare these communities, the types of differences you want to test.
I recommend getting started with the QIIME 2 overview tutorial to get an overview of a variety of different tests that can be used to answer this question.
Good luck!