What is the meaning of ちゃん?

title affixed to people's names: -chan

title affixed to animals

Source: wiktionary.org