A shiny brown coloured element X, when heated in the air, forms a black coloured compound Y. Identify X and Y.
2Cu(s)+O2(g)→2CuO(s)
Whereas sodium is a shiny silver element that reacts vigorously with air to form sodium oxide which is white in colour. This reaction generates a lot of heat and light.