Hydrocarbons are chains of Carbon atoms populated with Hydrogen atoms. When combusted with oxygen, carbon dioxide and water are produced. You know most of them as alkanes; the lowest molecular weight members being methane, ethane, propane, butane, hexane, heptane, and octane.
When you add other elements (Nitrogen, Phosphorus, Sulfur, etc.), it is no longer known as a hydrocarbon, takes on a different 3-dimensional shape, and has very different chemical properties.
The only hydrocarbon I know of, for certain, that animals make is methane; and that is generally made by bacteria that live inside the animals' guts.
I do not know of any true hydrocarbons, other than possibly methane, that ants produce and use for communication.