Generally, you will find that comets are made up of all kinds of debris, ice, and gases - and that their tails, on the whole, are propelled by the solar wind, shot forward from the Sun itself. They are a composite of all kinds of elements!