In Japanese the word is used more broadly to mean "teacher" or "master." Like sensei, senpai is used in English in contexts of martial arts as well as religious instruction, in particular Buddhism.