Whereas an idiom is a popular statement that expresses a belief or idea, idioms have been in common use around the world for a long time. A feature of idioms is that many metaphors compare what you want to explain with something else.
For example, "The pen is mightier than the sword" or "A journey of a thousand miles begins with a single step." The meaning of these sentences can be taken as they are.