I got stung by a bee.

Literal

Bee [by-に] was-stung-[polite-ました]

The bare adversative passive: no subject expressed, just the event done to the implied first person. The polite form 刺されました signals politeness toward the listener but not toward the bee.