The diet of the ostrich mainly consists of plant matter, though it also eats insects. It lives in nomadic groups which contain between five and fifty birds. When threatened, the ostrich will either hide itself by lying flat against the ground, or will run away. If cornered, it can attack with a kick from its powerful legs.