Lizards are reptiles with four legs...usually. Reptiles without legs are snakes...a lot of the time. And amphisbaenians mostly don't have legs, except when they do...but they're definitely not snakes.