Question: how oxide layer is formed?
Answer: To form oxide layers is the habit of most metals, when they are exposed to the atmosphere and nature of this oxide depends on the metal and the conditions under which it has been oxidized.