pain / pane are similar-sounding terms with different meanings (referred to as homophones). To better understand the differences, see below for definitions, pronunciation guides, and example sentences using each term. 👇
pain: (noun) a symptom of some physical hurt or disorder. (noun) emotional distress; a fundamental feeling that people try to avoid. (noun) a somatic sensation of acute discomfort. (noun) a bothersome annoying person. (verb) cause emotional anguish or make miserable.
pane: (noun) sheet glass cut in shapes for windows or doors.
pain: p·EY·n
pane: p·EY·n
(Examples are Wikipedia snippets under the CC ShareAlike 3.0 license. Definitions drawn from WordNet.)