Laundry detergents are designed to clean clothes and are not formulated for use on animals. They can contain harsh chemicals that can irritate your dog's skin and eyes and even be toxic if ingested.
Dog shampoos, on the other hand, are specifically designed for use on dogs and are much gentler on their skin and coat. They also contain ingredients that help to keep your dog's skin and coat healthy and hydrated.