It is an alcohol, with the name 'Hexanol'.
However, it then depends on the position in the chain of the alcohol functional group.
So you can have
Hexan-1-ol ( on the end carbon_
Hexan-2-ol ( on the 2nd. carbon in the chain)
Hexan-3-ol ( on the 3rd. carbon in the chain).
There is neither hexan-4-ol, nor hexan-5-ol , because they are mirror images of '-2ol' and '-3ol'.
Structures
Hexan-1-ol CH3-CH2-CH2-CH2-CH2-CH2OH
Hexan-2-ol CH3-CH2-CH2-CH2-CH(OH)-CH3
Hexan-3-ol CH3-CH2-CH2-CH(OH)-CH2-CH3