To clean out the dishwasher.
If your dishwasher has a lime build up, you may have to pretreat those areas with straight vinegar.
Fill the soap holder with plain vinegar and and run the dishwasher without dishes. Do this as many times as needed.