I recently looked up hydrogen sulfate ($\ce{HSO4-}$) to see how it's put together, and found this image of methyl hydrogen sulfate:
I'd assume that hydrogen sulfate looks the same, but without the methyl group attached. However I'm confused, how can it be constructed like that? This shows the sulfur having a total of 12 valence electrons, but shouldn't the maximum be 8?
I might be asking something that'll be obvious to me later on in chemistry, but this (and other groups that act as atoms) appear early on. I probably don't need to know it yet but I'd prefer to know how it works if I can as opposed to just accepting it.