The main difference between ether and ester lies in their structure. An ester group requires two oxygen atoms and two carbon atoms to complete its characteristic structure, while an ether group only needs one oxygen atom and two carbon atoms for its structure.