Derivative Applet

What is the relationship between the tangent line and the derivative? Do all functions of a derivative? Find the derivative of x^4+2x^3-2x^2-x+1.