Described is a microbial fuel cell principle of operation in which bacteria are biocatalysts in direct conversion of organic substance into electricity. Organic substances used in the process of microbial fuel cells electricity production can be carbohydrates, municipal wastes and sea sediments as well as animal, agriculture and industrial wastes.