Resting is the emote where your character sits down on the ground, and it does more than look idle. While resting, your run energy regenerates noticeably faster, which is handy after a long sprint across Karamja or the Wilderness.
Click the Rest option on your character's menu, take a seat, and wait. Stand up when your energy is back where you want it.