Structural and spectroscopic observation of an enzyme at work