Head phone /earphone is not working while you put headphone jack in your mobile, while you have tested that same headphone is working fine in another phone. Then this replacement will solve problem.
This item is good quality display - screen replacement for Redmi Note 7 Pro. It includes LCD with touch screen digitiser. If your phone screen is broken or there is lining on the display or display is complete dark, this replacement can solve problem.