Magmatism refers to the movement or activity of magma, which is molten rock formed from rocks melted under high temperature and pressure. It can occur through processes such as subduction, hot-spot volcanism, and along rift zones, with specific conditions required for magma formation including decompression melting, flux melting, and heat transfer melting. Understanding these processes and conditions is essential for studying geological formations and volcanic activity.