I get the wrong answer for the Derivative of Sin[x]

I used

f[x_] = (x^3 + 2 x^2 + 15 x + x)*Sin[ Pi* x];         
Derivative [1][f] 

gave a wrong answer. The Derivative of Sin x is Cos x NOT zero. What is wrong?

Hello and welcome to the Wolfram Community! Please take a few minutes to read this tutorial about correct posting – especially of Mathematica code:

How to type up a post: editor tutorial & general tips

If you will not follow the tutorial, other members of community may not be able to test your code. To edit your post – click “Edit” in the lower right corner of your post.

I think you used for the derivation this expression:

D[f, x]

But the right expression must be like this:

D[f[x], x]