Onions have many layers but there are only two main layers that we need. The outer layer called epidermis, which protects our body from external injury while we eat onions. The inner layer called cortex which contains most nutrients such as vitamins a, c, d & e. it also contains minerals like potassium & phosphorus. You can use these two layers separately according their purpose.