The molecular formula of hydrocarbon is C5H10. It satisfies the general formula CnH2n . It suggests that the hydrocarbon is either alkene or cyclloalkane. It does not react with chlorine in dark. Hence, it cannot be alkene. Hence, it is cycloalkane. It gives a single monochloro compound C5H9Cl in bright sunlight. Hence, the hydrocarbon.is cyclopentane.