In Italy, dinners have multiple course including an antipasti, primi (usually pasta), secondi (usually meat), and then dessert. While it's perfectly ok to eat dessert after pasta, it's not typically the case in Italy.