Distribution, functions and classification of bacteria, and archaea