A review on two-dimensional (2D) magnetic materials and their potential applications in spintronics and spin-caloritronic