The Roman Galactic Bulge Time Domain Survey is expected to detect more than 30000 gravitational microlensing events, including thousands of cold planets, hundreds of free-floating planets and stellar remnants lenses. This will revolutionize our understanding of the exoplanet demographics, as well as planet formation mechanisms. I will present the microlensing technique and highlight its unique capabilities, as well as the challenges that will bring this unique dataset. In particular, I will discuss the methods used to measure the mass and distance of the microlenses.