Working Mechanism of Flow Batteries