The Japanese language makes use of honorific suffixes and prefixes when referring to others in a conversation. Suffixes are attached to the end of names and are often gender-specific, while prefixes are attached to the beginning of many nouns. Honorific suffixes also indicate the level of the speaker and referred individual's relationship and are often used alongside other components of Japanese honorific speech, called "keigo".

Although honorifics are not essential to the grammar of Japanese, they are a fundamental part of its sociolinguistics, and their proper use is deemed essential to proficient and appropriate speech.

Dropping the honorific suffix when referring to one's interlocutor, which is known as to "yobisute", implies a high degree of intimacy and is generally reserved for one's spouse, younger family members, social inferiors (as in a teacher addressing students in traditional arts), close friends and confidants.

"Sensei" (literally meaning "born earlier") is used to refer to or address teachers, doctors, politicians, lawyers, and other authority figures. It is used to show respect to someone who has achieved a certain level of mastery in an art form or some other skill, such as accomplished novelists, musicians, artists and martial artists.

"Chan" expresses that the speaker finds a person endearing. In general, -chan is used for young children, close friends, babies, grandparents and sometimes female adolescents.

More Info: en.wikipedia.org