Interaction between microorganisms and heavy methals and its application