How many innings are played in a professional baseball game?

Nine innings are played in a professional baseball game.