The answer depends on the animal.
Goldfish: Yes, goldfish have backbones. They are vertebrates, meaning they possess a spinal column made of bone or cartilage. Their backbone is more flexible than that of mammals, allowing efficient movement through water.
Earthworms: No, earthworms do not have backbones. They are invertebrates. Instead of a bony spine, they use a hydrostatic skeleton, relying on internal fluid pressure to maintain shape and move.
Understanding this distinction highlights the incredible diversity of animal anatomy.