When the two poles facing each other are different, (i.e. north to south) magnets attract.
(the two poles; facing; each other) (the two poles facing each other; are i.e. north; different) (magnets; attract; )
the two poles the two poles facing each other magnets
facing are i.e. north attract
each other
different