This can be particularly hard for people on the Autistic spectrum to understand (estimated to be 700,000 adults and children in the UK).
For example, an Autistic person can take idioms literally so avoid saying things like “over the moon” or “barrel of laughs”.