Who was the person at the end of the movie avengers?

It's Thanos.