How does my employer track my FSA/HSA spending?

So long story short, I have $1000 in my account that I don’t even know what to use it on. I see there’s an online shop that makes it convenient to choose what to buy, but you can also buy stuff in person at stores. How does my employer know what I’m spending my account on? How do they know the exact items I purchase?