To know what kind of thermocouple you need, you must pay attention to the selection criteria. You must consider aspects such as installation requirements, vibration resistance, abrasion, chemical resistance, and temperature range.
Ungrounded thermocouples work best with corrosive environments, while exposed ones are better if you need high response times.