Decision tree algorithms can be used for both regression and classification tasks.
When the target or dependent variable is continuous (like predicting house prices or temperature), regression trees are used.
When the target variable is categorical (like predicting whether an email is spam or not), classification trees are used.
Therefore, option (A) correctly matches regression with continuous output and classification with categorical output.
Options (B), (C), and (D) mix up the nature of dependent variables or do not correctly describe the separation of use cases.
Hence, the correct answer is option (A).