Dogs have a magnetic poop compass

I had always heard that dogs “spin” before pooping (and also before lying down) as a natural instinct to clear the area of snakes, bugs, etc. Lord knows I wouldn’t want our sweet pooch dangling her goodies where any creepy crawlies could get to her. :o3