Yes, when a hydrocarbon fuel is burnt, it gives out carbon dioxide and water vapours. Hydrocarbons are made up of carbon and hydrogen. When they are burnt in the presence of oxygen, carbon reacts with oxygen to form carbon dioxide and hydrogen reacts with oxygen to form water vapours.
Example: When we burn methane gas in the presence of a sufficient amount of oxygen, it gives carbon dioxide gas and water vapours.