Flies do not have ears like humans do, but they can sense vibrations and movements in the air, allowing them to perceive sound to a certain extent.