In plasma spraying, a gas (often argon, nitrogen, or hydrogen) is ionized to form a plasma. This plasma is then used to heat the coating material, which is typically in powder form, to a molten state. The molten particles are accelerated towards the substrate, where they flatten and rapidly solidify, forming a coating. The process parameters, such as gas flow rates, arc current, and spray distance, can be adjusted to control the coating properties.