Identify the compound and classify its functional group in the image

H H H H H H
H-C-C-C-O-C-C-C-H
H H H H H H

The H's above and below are suposed to be single bonded to the C's