They're beans given to you on Setsubun Day, which is only a Japanese holiday on the ACNL JP Calendar. It's not celebrated in any other region due to people not being so familiar with the holiday. The player would be given a red or bllue ogre mask from Isabelle, and when you talk to villagers, they would throw beans at you to rid of the evil inside you. It's actually really cool.