An idiom is an expression that means something other than the literal meanings of its individual words.

To ‘take the cake’ is an idiom. It can mean one of two things:
- To be especially good or outstanding.
- To be particularly bad or objectionable.
Source: Brainless Tales