Vitamin D may affect how much melatonin your body makes, which can affect how well you sleep. Your body absorbs vitamin D better when you take it with a fatty meal. For most people, it is safe to take ...