Smart quotes will allow you to type the same double and single quote keys on your keyboard but get different curly quotes in the correct direction in your text. It uses the character before the quote to determine which character to show. You can turn this feature off and on and use Undo to get straight quotes in individual cases.
Want to know more about how to use Pages on your Mac? Check out this MacMost course!