Difference in torque and power (PS)

Hello Can jamand tell me what the difference between PS (power) and torque? So I know about that, but I wanted to know for what good performance you need and for what good torque you need? Or do you have good links? What is more important when buying a car? Already in advance. THANK YOU