Pili are hair-like structures found on the surface of many prokaryotic cells, particularly bacteria, that play critical roles in attachment and mobility. These structures can help bacteria adhere to surfaces, other cells, and even facilitate the exchange of genetic material through a process called conjugation. Understanding pili is essential for grasping how prokaryotic cells interact with their environment and each other.