X-ray Absorption Spectroscopy in biological systems: state-of-the-art analysis