Anal glands and sacs are often confused, but there’s a difference! Anal glands secrete an oily fluid that leaves odors for other dogs. Sacs hold the liquid; they can become blocked or irritated, leading to scooting.