Secret Wars has a long legacy at Marvel. The first Secret Wars dropped in 1985, a twelve issue series that was made to be an advertisement for an action figure line. However, fans really enjoyed the story, and between the success of Secret Wars and DC's Crisis On Infinite Earths, the event comic was born. Since then, Secret Wars has had several sequels, but the best is easily 2015's Secret Wars, by Jonathan Hickman, Esad Ribic, Ive Svorcina, and Chris Eliopolous.
Source:https://www.cbr.com/marvel-secret-wars-2015-best-avengers-event/