Atacama Large Aperture Submillimeter Telescope (AtLAST) science: resolving the hot and ionized Universe through the Sunyaev-Zeldovich effect