They look like big peanuts with long eyestalks, and they squirt out gooey liquid as a form of self-defense.
They were all in Mrs. Puff's Vegetable Garden. Mr. Krabs tried to steal them from Mrs. Puff's garden because he wants to give food to Pearl, who was having her growth spurt and was getting even hungrier by everything she eats.