What's "work out" mean? Can it be used in other contexts?

Native speaker’s answer
Rebecca
"Work out" means doing physical exercises, but also means trying to come up with a solution for something or to trying and understand something better. Both are written as "work out" but the meaning of this phrasal verb will depend on the context of the sentence. Ex: John works out in the gym every day. Ex: I couldn't work out whether it was a band playing or a record.