From the root ء ي ن (ʔ y n), meaning “to come or approach”, “to become or happen”, “to draw near to a place or time”; related to ء ي ي (ʔ y y) and آن (ʔān).
Practice speaking and memorizing "أين" and many other words and sentences in Arabic.