Unorganized mesh boundry

Hello dear subscribers
I have one problem with meshes while defining a domains for meshes the iso trim shows the true divide of the surface but while I want to get the lines with face boundries component or mesh edges component it would give extra lines too me and I dont understand the reason … I would appreciate if some one who knows say where is the problem