Step 1: Understanding the Concept
A ketone contains the group \(>\text{C=O}\) joined to two carbon groups.
Step 2: Check each compound
Ethyl ethanoate and methyl salicylate are esters. N-Methylphthalimide is an imide.
Step 3: Acetophenone
Acetophenone is \(\text{C}_6\text{H}_5\text{-CO-CH}_3\), whose carbonyl carbon is attached to a phenyl and a methyl group, so it is a ketone.
Final Answer:
Acetophenone is the ketone.
\[ \boxed{\text{(B) }\text{Acetophenone}} \]