A part and apart are often confused, especially by non-native speakers of English. Apart is mostly used as an adverb, denoting a separation between two or more things. A part (two words) means “a fraction of a whole,” or in theatre, “an actor’s role.” Apart from is a frequently used preposition.
Although the two expressions are identical in spelling but for a space, they have two different origins.