When the hydroxy group is specifically at the C3 position, hydroxysteroids are referred to as sterols, with an example being cholesterol.
If there is a hydroxy group located at the C3 position, then these compounds are classified under sterols. Cholesterol exemplifies such a compound.