A process in which a series of electron carriers operate together to transfer electrons from donors such as NADH and FADH2 to any of several different terminal electron acceptors other than oxygen to generate a transmembrane electrochemical gradient.