Topological groups and their generators