Geckos have specialized toe pads that allow them to climb walls and ceilings. These toe pads contain millions of tiny hair-like structures called setae, which create strong molecular attractions with the surface they are climbing on. This phenomenon, known as van der Waals forces, enables geckos to stick to surfaces and move with ease in various directions.