Solid oxide electrochemical reactors and processes for carbon dioxide and water splitting