the short answer
The plank is an anti-extension core hold where you support your body on your forearms and toes, holding it in one straight line from heels to head while your core resists gravity pulling the spine into an arch. It builds the abs, deep core, and glutes as stabilisers. The single most important cue is to keep the body in one rigid line by bracing the core and squeezing the glutes, not by holding for longer in a broken position.
This article is general technique education for coaches and clients, not medical or rehab advice - form is individual, and a qualified coach watching the movement and giving a form check is the gold standard. Clients with pain or a relevant history should clear it with a qualified professional first.