The word "rack" can have different meanings depending on the context. It can refer to a frame or structure used to hold or store things, like a wine rack. It can also mean causing extreme pain or torture. Full definition
Cool on wire rack for as long as you can stand and slice in wedges to serve. (dinnerintervention.com)
The hatchback is super great because there is actually room to put all of my groceries and there is a roof rack in case there are things that won't fit. (autolist.com)