Who is the bad guy in the avengers?

Loki,brother of Thor