Even though Temple of Doom was released after Raiders of the Lost Ark, it takes place chronologically *before* the events of that film.
Here are a few reasons why:
* Timeline: The film's opening scene explicitly states that it's 1935, while Raiders of the Lost Ark is set in 1936.
* Indy's Appearance: Indy appears younger and more reckless in Temple of Doom, which fits with his earlier adventures.
* Character Development: Marion Ravenwood's relationship with Indy, which is pivotal in Raiders, is not touched upon in Temple of Doom, suggesting that it happened later.
* The Ark: The Ark of the Covenant, the main object of Raiders, is not even mentioned in Temple of Doom.
Despite its release order, Temple of Doom is indeed a prequel, which is why it's important to watch the films in chronological order (Temple of Doom, then Raiders of the Lost Ark) for the most accurate story experience.