The idiom "A square peg in a round hole" means?

The idiom "A square peg in a round hole" means?

Explanation

The idiom "A square peg in a round hole" means غیر مناسب ماحول میں

For Example" She found herself a square peg in a round hole when she married a poor farmer and moved to a small village.