Gnocchi is technically a potato dumpling made with potato and flour while pasta is made with flour and eggs. The potato gives gnocchi that thicker, creamy texture. While the eggs make pasta elastic in nature.