What are sulfites in wine?

I once had a boss who asked me to recommend a great bottle of wine for him and his wife. When I asked if they are typically red or white lovers, he said that he loves his whites but his doctor said there’s too much sulfites in white wine so he should be drinking red…