Another way to say "taking a break is for resting from work" is "To rest from work, take a break."