Idioms are a collection of words or phrases which have a figurative meaning that is generally well established and known. In order to speak the language the way native speakers do you need to learn idioms.
Idioms can’t be taken at their literal meanings. Idioms, at times, seem grammatically unusual as well. These words are a useful tool in linguistics. Idioms are also used in stories, poems and spoken words.