Hello Ariel,
'Pasta' in general is the edible preparations made from a flour and water dough.
They are variously shaped,the one formed as long strings is called 'Spaghetti'.
'Spaghetti' is the plural form of the Italian word 'spaghetto', which is a diminutive of 'spago', meaning "thin string" or "twine".