1, one from DC comics and one from Marvel comics.
They have different world views.
Members of Justice League: Superman, Batman, wonder woman, Flash, Green Lantern, Neptune, Steel Bone, Magic Captain, Arrow, etc.
The Avengers members: Iron Man, Captain America, Thor, Hulk, Black Widow and Hawkeye.
Extended information "Justice League" story:
Batman (Ben Affleck) accepts the help of his new ally wonder woman (Gal Gadot) under the influence of his last confidence in mankind and the selfless dedication of Superman (Henry Cavill) to fight against a more powerful enemy.
Batman and wonder woman seek and recruit a Superman Alliance together to resist the threat of the new awakening. Although this team consists of Batman, wonder woman, The Flash (Ezra Miller), Neptune (Jason Momoa) and Ganggu (Ray Fisher), it seems that it can't stop the enemy from attacking the earth.
The Avengers's plot;
"The Avengers" composed of six superheroes, Iron Man (Robert Downey Jr.), Captain America (Chris Evans), Thor (Chris Hemsworth), Hulk (Mark Ruffalo), Black Widow (Scarlett Johansson) and Hawkeye (Jeremy Renner) came into being.
They showed their magical powers and United as one, and finally defeated the evil forces and ensured the safety of the earth.
References:
Baidu encyclopedia-justice alliance