what does it mean to paraphrase a sentence

a. you subsitute a phrase here and there within the original sentence

b. you rewrite the original completely in your own words, altering the setence structure