Prerequisites: You know the wild shape spell
While transformed into an animal form from the wild shape spell, you can cast any spell you know or a spell known by your new form.
If your animal form has more than 2 actions, you cannot use more than two actions to cast spells.