Where does the drain on a dishwasher go?

Garbage disposal, if one is installed, or a wye branch fitting on the tail piece of sink drain. Dishwasher drain line should have an air break or air gap before the disposal or wye branch fitting.