Fetching details from the dictionary...

to be lit (of a lamp, burner, etc.); to catch fire; to ignite; to start burning
to be turned on (of a light, appliance, etc.); to come on
ガスコンロの火がついた。
The gas stove ignited.
部屋の電気がつかない。
The room light won't turn on.
ストーブに火がついて部屋が暖まった。
The stove lit and the room warmed up.