The correct option is D Investing
Economic activities refer to activities that generate income. Therefore, buying groceries, publishing a book, and investing fall under economic activities. Activities like appearing for an examination do not generate income and hence, are non-economic activities.