Night sweats

I’ve heard/read night sweats can be a an early sign of pregnancy, is this true? Has anyone experienced this? What was it like for you?