Remove grammar issues from the given text.
Kyoto is famous for japanese ancient capital and has lots of temples and shrines.
Kyoto is famous for its ancient Japanese capital and has lots of temples and shrines.