The light suddenly came on.

Literal

Light [subject-が] suddenly turned-on.

パッと is a mimetic adverb meaning 'suddenly, with a snap, in a flash' — typically used for sudden visual or action events. つく is the intransitive 'to come on (of lights), to become attached.' Captures the instant of a light snapping on.