What is this amplifier doing, exactly?

throw this ckt away, use something better.

Bah. It attempts to be an audio amplifier, but the arduino isn't feeding it "audio" anyway, so there is little point.
Throw it away and replace it with something simpler that ISN'T anything close to an audio amp. Like the traditional "higher power" transistor switch...