Chlorine is the main constituent of bleaching powder. When exposed to air, bleaching powder reacts with carbon dioxide in air to produce calcium carbonate and chlorine. Thus, it smells of chlorine.
Your comment on this answer:
Related questions
Doubtly is an online community for engineering students, offering: