Same things, just combined. Later on GM went to a combination switch/sender like that.
My luck has been pretty poor with Delco replacements for those, but not a lot of choice but to go with another one, unless you really want to go backwards and retrofit the old separate switch/senders. I didn't know better when I got mine, stay away from Amazon ebay and the like for stuff like this, counterfeits are everywhere and I have no idea if my experience is due to them being fakes or not.
Switch portion was the failure on mine....not normally an issue as the switch isnt really needed (due to being a backup for the fuel pump relay) but my second one failed with the switch closed, which kept the fuel pump running without the key in the ignition. Obviously would have killed the battery over time.