Vitamin D[1] is a hormone. It is a steroid which is made in the body under the right conditions. To make it, the body needs sunlight, which acts on the lower layers of the skin.
However, if the body does not make enough, it can be found from food sources in tiny amounts.[1] [2] In fact, many countries add it automatically to certain foods like milk.[3] Supplements[1] can be easily found in most developed countries.
Vitamin D is a fat-soluble nutrient. This means that any portion not used immediately is stored in fat tissue for future use.