Can’t Wrap My Brain Around (Something)

What does the idiom “can’t wrap my brain around” mean?

Definition: I am unable to understand (this).

Example: I don’t have a mathematical mind. I’ve tried to master double-entry accounting, but I just can’t wrap my brain around it.

Note: “Can’t wrap my mind around” is also used. This is generally used in the first person.