Core rule
Short and Long Rests
Resting restores hit points and spent resources. Different resources require different rests.
You normally have two Short Rests between Long Rests. They restore some hit points and resources that specifically recover on a Short Rest.
A Long Rest with sufficient camp supplies restores hit points and spell slots. Class exceptions matter: Warlock spell slots also return on a Short Rest.