My 1998 Ford Ranger makes a loud "rattling noise"coming from underneath truck. on 1998 Ford Ranger

This only happens when not pressing gas pedal and truck is coasting.

Asked by for the 1998 Ford Ranger
Possible cat. converter. Tap it with a rubber hammer to see if it rattles, inside.