Although sweet flag looks like a grass, it is in a family by itself. Like grasses, though, sweet flags are grown for their textural foliage, especially the boldly variegated types. The plants grow best in moist soil and may even grow in several inches of standing water, making striking upright accents in water gardens or moist borders.