Where are Equatorial rainforests located and why are they located there?

Difficult to answer without getting specific, but a general answer might be:
Equatorial rainforests are located between the Tropics of Cancer and Capricorn (±23.5 deg lat) in continental areas that receive considerable rainfall. That is usually on the side of the incoming prevailing winds.