Meaning of the word "out of line" in English

What does "out of line" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

out of line

US /aʊt əv laɪn/
UK /aʊt əv laɪn/

Idiom

behaving in a way that is not acceptable or is inappropriate

Example:
His comments were completely out of line.
You were way out of line talking to her like that.