What is the difference between quarantine and isolation?

Quarantine is when a person who has been exposed to someone who has COVID-19 at is at home to limit community exposure and to see if the person becomes sick.

Isolation is when a person sick with COVID-19 is separated from people are not sick to avoid spreading illness.