An organic compound A is a constituent of wine and beer. The compound on heating with potassium dichromate or oxygen forms another compound B. Identify the compound A. Write the chemical equation for the complete reaction that takes place to form compound B. Name the compound B.