Answer :
Hydrocarbons are a chain of carbon atoms bonded to hydrogen and carbohydrates have more complex structures made of sugars which are made of mainly hydrogen, carbon and oxygen
Hydrocarbons are chains of carbon atoms bonded to hydrogen and sometimes functional groups whereas carbohydrates have more complex structures made up of sugars made of mainly hydrogen, carbon and oxygen.