What is the meaning of [When pigs fly]

something that will never happen.
“When pigs fly she’ll tidy up her room.”