How to force click and get haptic feedback on Apple trackpads - Apple Support
Trackpads that include Force Touch technology have sensors beneath the surface to detect differences in the amount of pressure you apply. This enables pressure-sensing features such as Force Click, and it includes haptic feedback.
Apple Support