The best definition of an idiom is

a group of words in a fixed order that have a particular meaning that is different from the meanings of each word on its own.