What can cause a hot sweat during the night?

I woke up last night drenched in sweat. I’m 24 and currently on my period.

I’m a bit worried what it could be. Has anyone else ever had a hot sweat at night?