An allylic alcohol is a compound where the hydroxyl group is attached to a carbon atom that is adjacent to a double bond. In option (B), the structure \( \text{CH}_2 = \text{CH} - \text{C}(\text{CH}_3)_2\text{OH} \) fits the definition of allylic alcohol because the hydroxyl group is attached to the carbon adjacent to the double bond.
Step 1: Understand allylic alcohol.
Allylic alcohols have a hydroxyl group attached to a carbon that is part of the allyl group (adjacent to a C=C bond).
Step 2: Conclusion.
Therefore, the correct answer is option (B).
Final Answer: (B) \( \text{CH}_2 = \text{CH} - \text{C}(\text{CH}_3)_2\text{OH} \)