Susana heats up a sample of red crystals. While the sample is being heated, a gas is released and a blue powder is left after the heating. Is the sample of red crystals an element or a compound? Explain your answer.