Iron ore is formed through the sedimentation and geological processes that occur over millions of years. It is typically found in the form of hematite and magnetite deposits, which are the result of the accumulation and transformation of iron-rich sediments in ancient marine environments.