Chain going out of the assembly
Your rear derailleur is out of adjustment, possibly because it was knocked against something. There are already many good guides to derailleur adjustment on the internet, so I'd rather link to one from one from Park Tool than write another one. If your derailleur has been knocked badly out of alignment, you might also need to realign the hanger.