* Rack can refer to a frame or shelf, or to cause pain or distress.
* Wrack means to inflict severe pain or distress, or to destroy or ruin completely.
Here are some examples:
* Rack: "I put my clothes on the rack."
* Wrack: "The storm wracked the coastline."