Pasta is generally made with the same ingredients (flour, water, and sometimes eggs) - the main difference comes down to their shape. For example, spaghetti is long and thin while elbow macaroni is small and curved, yet they are made with the same (or similar) ingredients.