Resource guarding is a dog's attempt to protect something they value, such as food, a toy, a bed, or even a person, from being taken away or approached. It can range from mild, such as eating faster or stiffening slightly when someone walks past a food bowl, through to more serious, such as growling, snapping, or biting if someone reaches for the item.
It's a natural behaviour rooted in a dog's instinct to protect valuable resources, rather than a sign of a badly behaved or aggressive dog by default. That said, more serious guarding does need addressing, both for safety and for the dog's own quality of life.