What is a pyro?

A pyro or pyromaniac is someone who sets fires for sexual excitement. I learned this in school. They enjoy playing with fire because of this reason.

A Person whom plays, lights, or sets things on fire for no good reason