Fungal infections are caused by fungi, which are microorganisms that can invade various parts of the body, including the skin, nails, hair, and internal organs. These infections can range from mild to severe and may present with different symptoms depending on the affected area.