A hydrocarbon is any compound with molecules each consisting of just hydrogen and carbon with no other element. Hydrocarbons are found in crude oil and are the primary constituent of refined fuels. On Earth, they are thought to have been generally formed from material of biological origin, but they are present in the output of deep ocean vents and they are also present on other bodies in the solar system which are presumed to be of non-biological origin. Thus, to an extent a hydrocarbon is a biosignature, but what's considered more reliable is ratios of specific hydrocarbons with others and other material.
Carbon atoms tend to bond to four other atoms, each of which can be carbon or hydrogen (or other element, in which case it is no longer a hydrocarbon), and hydrocarbons can be so-constructed in various ways, including long chains, and branches. Some classifications:
The simplest alkane is methane with one carbon and four hydrogen atoms. Next is ethane, with two carbon atoms, each bonded with three hydrogen atoms.