The reaction of phenol with metals(example: sodium, aluminium) and sodium hydroxide indicate its acidic nature.The hydroxyl group ,in phenol is directly attached to the SP2 hybridised carbon of benzene ring which acts as an electron withdrawing group.Due to this, the charge distribution in phenol molecule ,as depicted in its resonance structures, causes the oxygen of -OH group to be positive ,that's why phenols are acidic in nature.