Characters and patterns of communities in networks