Mathematica can indeed compute the first, second, and third partial derivatives of a function using the D function. To take partial derivatives, users can specify the variable with respect to which they want to differentiate. The syntax involves using D[function, {variable, order}] for higher-order derivatives. Users can also combine multiple variables in the differentiation process. Overall, Mathematica provides a robust tool for handling partial derivatives efficiently.