When one or two hydrogen atoms of alkane are replaced by -OH groups we get
Hydroxyl derivatives
A hydroxyl group is composed of one hydrogen atom bonded to one oxygen atom. Its chemical formula is written as either R-OH, where R is an alkyl or a carbon based chain.
A hydroxyl group is a functional group that attaches to some molecules containing an oxygen and hydrogen atom, bonded together. This functional group provides important functions to both alcohols and carboxylic acids.
Alcohols and sugars are "loaded" with hydroxyl groups.