If a word is capitalized in the middle of a properly written sentence, chances are the word is?

A. a grammatical error.
B. a proper noun.
C. the start of a definition.
D. the most important word in the sentence.