Sunlight through a window won’t have the same effect – glass reduces absorption of the UV rays needed for vitamin D ...