The kata-wata was a leafy green fern that grew on Endor. The Ewoks used the leaves of the fern for building materials, and they also extracted liquid out of the stem, which was used to stop bleeding and help prevent infection.
Sources
"Endor and the Moddell Sector" — Star Wars Gamer 9 (First mentioned)- Geonosis and the Outer Rim Worlds