An ester is a compound derived from an acid (often a carboxylic acid) and an alcohol. The general formula for an ester is RCOOR', where R and R' are alkyl or aryl groups. In the given options:
- Option (a) shows the structure CH$_3$ - O - CH$_3$, which corresponds to methyl ether, an example of an ester.
- Option (b) shows a different structure, not fitting the ester formula.
- Option (c) and (d) are aldehydes or ketones, not esters.
Therefore, the correct answer is (a).