Dishwasher and detergent. two different names and It’s two words explain the different task. Dishwasher not use in detergent, while we wash dish there two cycle one is the wash cycle and another one rinse cycle. Which one is require you it’s completely depends upto you. If you require rinse dish not need to use detergent.