While it's best to obtain nutrients from whole foods, in certain cases, supplements may be recommended by healthcare professionals to address specific nutritional deficiencies or health conditions.