I have this plant growing in my garden in Columbia, South Carolina, USA. The photo was taken yesterday (August 20), where we have just had a hot and humid summer.
The plant looks kind of interesting, and I was reluctant to pull it, but if it's a weed I probably do want to pull it.
A search on Plantnet and Google Images came up with little; Plantnet guessed nutsedge or garlic, and someone at a local gardening store suggested an onion. I'd be very surprised if I had garlic or onions growing, and photos which I found of nutsedge look rather different.
Any idea what this is and whether or not I should remove it?