A warm and reverent term — much more loaded than
老师 (lǎoshī, the everyday word for 'teacher').
恩师 is reserved for a specific teacher whose influence shaped you: a thesis advisor, a martial-arts master, a mentor who took you in. Often paired with
终生 (lifelong).