From colliders to cosmos: Investigating thermal history and baryon asymmetry of the universe