Why does the car knock when accelerating and turning?

if its front wheel drive its the C V joints in the axles