A short, hairlike organelle that extends from a cell and functions in locomotion or in the movement of substances across the cell surface.