Bunraku was created through two separate performance styles merging together: puppetry, whose Japanese name is ayatsuri. chanting and singing with narration, which in Japanese is translated to joruri. They were used as to act out stories
The other person already answered but I hope this still helps :)