hydrocarbon biosynthetic process
The chemical reactions and pathways resulting in the formation of a hydrocarbon, a compound consisting of carbon and hydrogen only.
GO:0120251 · biological process
Also called: hydrocarbon anabolism · hydrocarbon biosynthesis · hydrocarbon formation · hydrocarbon synthesis