Fundamental mechanisms for molecular energy conversion and chemical reactions at surfaces