We present a review of the studies related to establishing the QCD phase diagram through high energy nucleus-nucleus collisions. We particularly focus on the experimental results from the RHIC Beam Energy Scan Program related to the formation of a quark-gluon phase, quark-hadron transition and search for a critical point in the QCD phase diagram. We will also discuss the future prospects of nuclear collisions to probe properties of baryon-rich matter.