When you take on a dog, you also take on a set of responsibilities, something not every new owner may be aware of.
Many of these responsibilities are governed by law and if these laws are broken you could end up paying a fine or even face community service or a custodial sentence.
There are laws on barking, identification, fouling, breeding, travelling in vehicles, keeping your dog on a lead and keeping it under control generally.