Surface appendages or hairy structures present in some bacteria for attaching to one another are called as pili. Flagella is a whip-like structure present on some bacteria that allows in cell movement. Cilia are slender protuberances or hair-like projections that are present on the cell body of eukaryotes.
Hope it helps ❣️