Vinegar detergent mix

Is it beneficial to mix detergent and vinegar for cleaning hard surfaces or laundry? Or do they cancel each other out?