"Isn't it a fanciful notion, as our parents always said, that any adult could actually understand a teenager's mind?'

What is the function of the commas in this sentence?

What punctuation mark could be used instead of the commas?