An idiom is a group of words, or in other words, a phrase that has a meaning different from the literal meaning of the words in it.
to do as one has been instructed
The soldiers were following orders when they attacked the village.
List of common idioms, their meanings and examples of their usage in sentences
An idiom is a type of phrase or expression that has a meaning that can't be deciphered by defining the individual words.