When mashing different enzymes are activated at different temperatures, therefore it is often advised to do a step-mash. When using RIMS or an AIO-system you can directly heat your mash with heat elements. Other ways of heating is infusion (adding hot water to increase temperature) or decoction (boiling part of the mash and reintroducing).