Pasta is what we usually call "spaghetti". When asked about pasta in English, you might say "spaghetti". In fact, the correct name is "pasta", "Spaghetti" is just one of them, is the kind of traditional long strip-shaped pasta. In Italy, there are more than 130 different shapes of pasta.
[Example sentence]Makesurethepastaisaldente,willyou?Make the pasta a little harder, please?